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 site follows compiler main at checkpoint 1d7e15e. The latest tagged release is v0.0.3; unreleased APIs are labelled throughout the documentation.

Install Strut

curl -fsSL https://strut-labs.github.io/install.sh | sh

Installation, updates, downloads, and supported platforms

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.