Deterministic autofree memory
Static escape analysis injects LIFO destructors at scope exits. No tracing garbage collector or stop-the-world pauses.
Everything in the Vira language, collected from the README and the runnable tutorials. Learn the syntax, then ship systems, AI, web services, and desktop apps.
Vira combines C and Rust-level control with Go-like simplicity, instant compilation, and a focused standard library.
Static escape analysis injects LIFO destructors at scope exits. No tracing garbage collector or stop-the-world pauses.
Immutable by default, with precise default, mut:, pub:, and pub mut: field visibility and mutation controls.
The !T result type makes failures explicit. Unwrap with or { ... } or propagate with ! before code can run.
First-class 1D–4D tensor primitives, @ matrix multiplication, AVX2/FMA, SSE2, and ARM NEON acceleration.
Load Hugging Face weights and local LLM models in pure Vira with Q4_0/Q8_0 dequantization and token sampling.
Isolated actors communicate with <- and run across a Chase-Lev work-stealing pool with OneForOne restarts.
Lower readable Vira directly to portable C99 for GCC, Clang, MinGW-w64, or TCC.
Use extern C, raw pointers, unsafe boundaries, and shared-library exports for zero-overhead interop.
Build asynchronous HTTP/1.1 services with a pure RFC 8259 JSON parser and O(N) JsonBuilder.
Create Win32/X11 native windows with immediate-mode widgets, declarative layouts, navigation, and dashboards.
Scaffold projects, add dependencies, lock versions, vendor for air-gapped builds, and keep projects reproducible.
Friendly compiler errors with source spans, notes, suggestions, and precise type-checking feedback.
Step-by-step guides paired with runnable .vir examples. Open the source on GitHub and learn by doing.
OPEN ALL TUTORIALS