Introduction to Nyx

Nyx is a modern, safe, and productive programming language that unifies web, mobile, and desktop development. Write one codebase and compile it to native binaries, WebAssembly, iOS, or Android — all from the same tools.

Named after Nyx, the primordial Greek goddess of the night — calm, powerful, and encompassing everything.

What's Broken in Today's Languages?

LanguagePain Point
PHPInconsistent stdlib, poor concurrency, weak typing
PythonGIL kills parallelism, slow CPU performance, packaging nightmares
LuaTiny stdlib, no native async/await, ecosystem fragmentation
JavaScriptFramework churn, single-threaded, runtime dependency on Node/Deno
GeneralDifferent languages for web (JS), mobile (Swift/Kotlin), desktop (C#/Electron)

Nyx's Core Design Philosophy

"One language, all platforms. Predictable performance, delightful ergonomics."

Quick Example

// main.nyx
fn main() {
    std.io.println("Hello from Nyx!")
}

Compile and run:

nyx build
nyx run

Key Features

Next: Installation →