High productivity, high performance
Statically-typed, self-hosted, and powered by LLVM.
Built-in ARC & Safety
arc_demo.wl
import "builtin"
func main() -> Int {
let message -> String = "Hello, WhiteLang!";
let items -> Vector(String) = [];
items.append(message);
builtin.print(items[0]);
}
Seamless C FFI
ffi_demo.wl
extern func puts(s -> String) -> Int from "C";
func main() -> Int {
puts("Calling C directly!");
return 0;
}