Early Stage
Rue is a research project, not ready for real use. We're still building the basics. Expect bugs, missing features, and breaking changes.
Familiar Syntax
If you know Rust, Go, or C, you'll feel at home. Rue aims for a gentle learning curve without sacrificing clarity.
Native Compilation
Compiles to x86-64 and ARM64 machine code. No VM, no interpreter, no garbage collector.
What is Rue?
The Question
Rust proved memory safety without garbage collection is possible. But its learning curve is steep. Can we find an easier path to the same destination?
We don't know yet. Rue is an early-stage research project exploring that question. It's not ready for real projects, but you can follow along as we figure it out.
The Experiment
Rue is also an experiment in human-AI collaboration. The language is designed by Steve Klabnik and implemented primarily by Claude, an AI assistant.
Read the story of how we went from zero to a working compiler in two weeks.
See It In Action
fn fib(n: i32) -> i32 {
if n <= 1 {
n
} else {
fib(n - 1) + fib(n - 2)
}
}
fn main() -> i32 {
// Print the first 10 Fibonacci numbers
let mut i = 0;
while i < 10 {
@dbg(fib(i));
i = i + 1;
}
0
}