v0.1.0-alpha  ·  Open Source  ·  Systems Language

Control everything. Compromise nothing.

Kairo is a modern systems programming language. The raw power of C++. The ergonomics of modern design. Zero compromises on performance.

COMPILER ALPHA | SELF-HOSTING IN PROGRESS | C++ BOOTSTRAP
dot_product.kairo kairo
import std::Parallel;

fn <T: Numeric> dot(a: [T], b: [T]) -> T! {
    if a.len() != b.len() {
        return error("Length mismatch");
    }
    return Parallel::zip(a, b)
        .map(|(x, y)| x * y)
        .sum();
}

fn main() {
    let a = [1.0, 2.0, 3.0];
    let b = [4.0, 5.0, 6.0];
    let result = dot(a, b)!;
    print(f"Dot product: {result}");
}

Built for the demanding.
Not the comfortable.

Zero-cost Abstractions

Write clean, expressive code that compiles to exactly what you'd hand-write in assembly. No hidden overhead, no runtime cost.

01

Memory Control

Manual memory management with optional borrow checking. Raw pointers when you need them. Smart pointers when you don't.

02

C/C++ Interop

First-class FFI. Call C and C++ code directly. Bit-level ABI compatibility. No wrappers, no overhead, no ceremony.

03

Blazing Performance

Predictable performance. No background GC. No hidden allocations. You control every nanosecond of execution.

04

Modern Ergonomics

Generics, interfaces, lambdas, pattern matching. All the tools you expect — none of the runtime cost. Expressive by design.

05

Built-in Tooling

Formatter, linter, package manager, LSP — all ship with the compiler. One toolchain, zero config, maximum productivity.

06

See it in action. Clean syntax.
No magic.

hello.kairo kairo
fn main() {
    // Variables are immutable by default
    let name = "Kairo";
    let mut count: i32 = 0;

    // f-strings for string interpolation
    for i in 0..3 {
        print(f"[{i}] Hello from {name}!");
        count += 1;
    }

    print(f"Ran {count} times.");
}

Early — and accelerating.

0+
GitHub Stars
and growing
01
0+
Weekly Downloads
from releases
02
0
Contributors
open source
03
0
Forks
on GitHub
04

Get Kairo in
seconds.

One command gets you the compiler, formatter, LSP, and package manager. No separate installs, no configuration.

Alpha Notice

The compiler is currently in alpha. Written in C++, being rewritten in Kairo itself. APIs may change.

Full Install Guide
Quick install
$ curl -fsSL https://kairolang.org/install.sh | bash
From source
$ git clone https://github.com/kairolang/kairo-lang.git && cd kairo-lang && xmake build -j8
SYS::READY —— KAIRO v0.1.0-alpha —— KSF OPEN SOURCE

Ready to build
the future?

Join the small but growing community of systems programmers who refuse to compromise on performance or ergonomics.