A compiled, statically typed systems language that targets native machine code — producing lean binaries with no runtime overhead.
Spice combines the speed of a low-level systems language with a modern, familiar syntax and a batteries-included toolchain.
Zero-cost abstractions, value semantics by default, and LLVM optimizations at every level.
Borrows the curly-brace style of C and C++, so existing systems programmers feel at home.
Strong static typing, immutability via const, and deterministic destructors — no garbage collector.
Call C and C++ libraries directly and cross-compile to any LLVM-supported target.
A single binary covers compilation, running, testing, and installing packages.
From CLI tools and compilers to embedded drivers and WebAssembly modules.
Functions return values (f<ReturnType>), procedures do not (p).
The entry point is always main, and the standard library is imported with
import "std/...".
import "std/text/print";
// The entry point always returns an int
f<int> main() {
println("Hello, Spice!");
return 0;
}
Install the toolchain on your platform and write your first program in minutes.
Install Spice Read the introduction