NEXA

CODE BEYOND

A small, fast native language with a declarative UI.
One language, four native targets.

v1.1.0 · MIT licensed

Quick Start

Install the prebuilt binary on Linux x86-64 — or grab the archive for your platform from the releases page.

$ ./install.sh
$ nexa new hello
$ cd hello
$ nexa run
action fib(n) {
    if n <= 1 {
        return n
    }
    return fib(n - 1) + fib(n - 2)
}

print(fib(10)) // 55

Features

Simple syntax

Small grammar, no type annotations, no semicolons. If you can read the program, you can predict what it does.

Fast native execution

No interpreter, no bytecode VM — the compiler emits native assembly and links a real binary.

Four targets

x86-64 Linux, ARM Linux, Windows x86-64, and Intel Mac. One language, four binaries.

Declarative UI

NEXA UI 1.0: app("Counter") { ... } compiles to a real native window — or runs headless.

Small and focused

The compiler is about 1.2 MB and builds a hello-world program in about 30 ms.

Safe by default

Checked arithmetic, bounds-checked arrays, and reference-counted strings and structs.

Targets

NEXA compiles to native binaries for four targets. The same program behaves identically on each.

x86-64 Linux

x86_64-unknown-linux-gnu

Complete, including UI

ARM Linux

aarch64-unknown-linux-gnu

Raspberry Pi & ARM servers

Windows x86-64

x86_64-pc-windows-gnu

MinGW CRT runtime

Intel Mac

x86_64-apple-darwin

Mach-O via Zig

Ecosystem

Benchmarks

Measured numbers, not claims. Language battle results after register allocation (2026-11-29), best of 3 runs, outputs verified.

BenchmarkNEXAPythonNodeC++Rust
fib(30), recursive15.0 ms164.8 ms97.5 ms2.8 ms5.1 ms
array sum14.1 ms955.7 ms95.7 ms6.4 ms1.7 ms
string build1.1 ms31.3 ms76.2 ms1.8 ms1.1 ms
float loop12.0 ms——11.7 ms11.9 ms
build time (fib)31.5 ms——106.4 ms91.0 ms

Float loop ties C++ and Rust; string build ties Rust and beats C++; build time is the fastest of the three.