mylang ʟ-1
Our own systems language, compiled to native code. Designed for C-class speed with compile-time safety checks.
enum Shape { Circle(i32), Rect(i32, i32) } fn area(s: Shape) -> i32 { match s { Shape::Circle(r) -> r * r * 3, Shape::Rect(w, h) -> w * h, } } fn main() { println(area(Shape::Rect(3, 4))) // 12 }
- 1,299 compiler tests passing
- Benchmarked: matches C on 3 of 5 programs, 6–74× faster than Python