A statically-typed systems programming language with compile-time ownership tracking and zero-cost abstractions.
Status: Active development — not production-ready.
Scoop:
scoop bucket add zith https://github.com/GalaxyHaze/Zith.git
scoop install zithHomebrew:
brew tap galaxyhaze/zith
brew install zithLinux / macOS:
curl -fsSL https://raw.githubusercontent.com/GalaxyHaze/Zith/master/scripts/install.sh | bashPass --musl for a statically linked musl build, or a version tag (e.g. v0.0.1).
Windows (PowerShell):
irm https://raw.githubusercontent.com/GalaxyHaze/Zith/master/scripts/install.ps1 | iexWebAssembly:
curl -fsSL https://raw.githubusercontent.com/GalaxyHaze/Zith/master/scripts/install-wasm.sh | bashgit clone https://github.com/GalaxyHaze/Zith.git
cd Zith
cmake -S . -B build
cmake --build build -jRequires CMake 3.15+, a C++17 compiler (GCC/Clang/MSVC), and optionally LLVM for native backend support.
Verify:
zith --helpzith new hello-world
cd hello-world
zith runfrom std/io/console;
fn main() {
println("Hello, World!");
}
| Command | Description |
|---|---|
zith build |
Build the project |
zith build -m release |
Release build |
zith check |
Syntax and type checking without compilation |
zith compile <file> |
Compile to ZBC bytecode |
zith execute <file.zbc> |
Run a compiled bytecode file |
zith run |
Build and run in one command |
- Ownership system —
unique,share,view,lend,extensionkeywords enforced at compile time - No garbage collector — memory safety without runtime overhead
- ZBC bytecode — portable, versioned intermediate format
- Multi-execution — run via VM or compile to native via LLVM
- Contexts & DSLs — scoped operator/constant injection
- Structured goto —
marker,entry,exitfor verified control flow
Full language specification: Zith-spec.md