A concise, memory-safe compiled language
Build with
support.
Strut combines native compilation, deterministic memory management, concurrency, and a growing native backend stack: HTTP/TLS, streaming, SQLite, full-duplex WebSockets, subprocesses, crypto, cancellation, and cross-platform PTYs including Windows ConPTY.
hello.p
function main() -> int {
print("hello, world!");
return 0;
}
Current development documentation
The current release is v0.0.5 (compiler commit 2c9c7e8); features added in v0.0.5 are labelled throughout the documentation.
Install Strut
curl -fsSL https://strut.cx/install.sh | sh
ConciseInference where it helps. Explicit types where they matter.
Memory-safeReference-counted safe pointers, non-owning references, and explicit unsafe escape hatches.
NativeCompiled executables with static, dynamic, or mixed linking.
Cross-platformLinux, macOS, and Windows are first-class design targets.
