🌙 The Nyx Programming Language
One unified compiler architecture spanning Zero-GC region safety, linear capability security, SMT formal mathematical verification, 1,000 Hz humanoid robotics, and embodied cognitive AGI.
nyx.exe toolchain with built-in release compiler engine, automated C codegen, standard runtime, and starter templates.
Enterprise Web Suite (v0.28)
Fluent QueryEngine, Server-Driven UI, SSE streaming at 2.5M req/sec, and zero-reflection binary serialization.
Sovereign Mobile SDK
Fine-grained reactive signals (Signal<T>), 0.00ms GC pause FrameArena, 120 FPS Vulkan rasterizer, and sub-4ms touch.
Tri-Mode Android Interop
Run APKs and AAB bundles directly on NyxOS via NDK Direct Bridge, ART Micro-Container Sandbox, and AOT DEX Transpiler.
True Cross-Platform
Compile native binaries, WebAssembly, iOS, and Android from one unified codebase.
Memory Safe Without GC
Region-based bump allocation & compile-time escape proofs — zero GC pauses, zero use-after-free.
Fearless Structured Concurrency
Async nurseries and isolate regions with compile-time data race elimination.
✨ v0.28 Production Highlights & Code Architecture
First-principles implementation of high-throughput web microservices and 120Hz sovereign mobile interfaces.
⚡ std.web Reactive Microservice
import std.web;
fn main() {
let app = WebApp.new();
app.get("/events", fun(req) {
return Response::sse(fun(stream) {
stream.send("tick", now_iso8601());
});
});
app.listen("0.0.0.0:8080");
}
📱 sdk.ui.mobile_sdk Component
import sdk.ui.mobile_sdk;
fn CounterWidget() -> Widget {
let count = Signal.new(0);
return Column([
Text("Taps: ${count.value}"),
Button("Increment", fun() {
count.update(fun(c) { return c + 1; });
})
]);
}
🤖 Tri-Mode Android CLI
# Inspect manifest and permissions
nyx apk inspect app.apk
# Transpile AAB bundle to target APK
nyx aab transpile bundle.aab --out=app.apk
# Execute via native NDK or sandbox
nyx apk run app.apk --mode=ndk
nyx apk run app.apk --mode=container
Documentation Sections
Photonic Native Computing
Thin-Film Lithium Niobate (TFLN) optical MVM, in-flight non-linearities, and zero-GC co-processors via std.photonics.
🌐 Multi-Dialect Sovereign Extensions
Explore Zephaniah (Gradual Ownership), Havilah (Linear Capabilities), Jude (SMT Verification), SERAPHIM Robotics, and SOPHIA AGI.
Explore Extensions →🎓 Interactive Academy
Learn Nyx step-by-step with 5 master tracks, live in-browser compiler, and certification exams.
Open Academy →📱 Sovereign Mobile SDK
120 FPS Vulkan GPU engine, fine-grained reactive signals, hardware keystores, and zero GC pauses.
Explore Mobile SDK →⚡ Mobile Frontier Architecture & Roadmap
On-device SLM zero-copy scheduling, NIST FIPS 203 post-quantum enclaves, and 10.2" tri-fold compositing.
Explore Mobile Frontier →📖 Language Guide
Learn Nyx from scratch — types, functions, memory model, concurrency.
Start reading →⚙️ Setup & Installation
Get Nyx running on your machine. Prerequisites, prebuilt CLI, and build instructions.
Get set up →🏗️ Tutorials
Build real applications — web microservices, mobile apps, and desktop GUIs.
Follow along →📚 Standard Library
Reference for all standard modules — web, aab, io, http, json, crypto, db, ui.
Browse API →🔬 Internals
How Nyx works under the hood — compiler pipeline, region inference, MLIR, LLVM 18.
Peek inside →