High Performance
Leverages LLVM for optimized machine code generation.
Stride is a multi-paradigm, JIT-compiled systems programming language built on the LLVM compiler toolchain, combining low-level control with modern syntax.
type Point = { x: i32; y: i32; };
fn main(): void {
const p: Point = Point::{ x: 10, y: 20 };
let list: i32[] = [1, 2, 3];
let maybe_val: i32? = nil;
if (p.x > 5) {
maybe_val = p.x + list[0];
}
const op: (i32, i32) -> i32 = (a: i32, b: i32): i32 -> { return a + b; };
printf("Result: %d\n", op(p.x, p.y));
}Stride is currently in active development. Core language features like primitive types, functions, and control flow are stable. More advanced features like full struct support, imports, and a comprehensive standard library are currently being implemented.