Skip to content
9jaoncloudPublic

About

Nyx - the zero-GC systems programming language by Simeon Bala / 9jaonCloud Engineering. Region inference, deterministic concurrency, capability microkernel, NyxOS & Nyx Mobile OS. (Not affiliated with NyxCode, the unrelated web DSL.)

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

🌙 The Nyx Systems Programming Language (v0.53.0)

Version License Memory Safety Architecture Benchmarks

A modern systems programming language featuring automatic zero-GC static region inference, O(1) bump frame arenas, deterministic 0.00ms latency, and a 6-phase native transpilation compiler.

🌐 Interactive Web & Documentation Hub: nyx.9jaoncloud.com.ng
📖 Quickstart Guide: Getting Started | 🧠 Memory Model: Zero-GC Region Inference | 📐 Syntax Reference: Types & Syntax | ⚡ Benchmarks: Empirical Silicon Tests | ❓ FAQ: Disambiguation & FAQ


⚡ 10-Second Quickstart (Clone & Run)

Nyx comes with a standalone, precompiled native 6-phase compiler at bin/nyx.exe for immediate out-of-the-box productivity:

# 1. Clone the clean public repository
git clone https://github.com/9jaoncloud/nyx.git
cd nyx

# 2. Run your first native Nyx program immediately
.\bin\nyx.exe -i examples\hello_world.nyx -r

Output:

Compiled: examples/hello_world.exe
==================================================
🌙 Welcome to the Nyx Programming Language (v0.53.0)!
Zero-GC Region Inference · 0.00ms Pauses · Native x86_64
==================================================
Quick test calculation (21 * 2): 42
Ready to build high-performance systems!

💻 What Does Nyx Code Look Like?

// Clean syntax with zero lifetime annotations
struct TradingOrder {
    id: Int,
    symbol: String,
    price: Float,
    volume: Float
}

impl TradingOrder {
    fn total_notional(self: &TradingOrder) -> Float {
        return self.price * self.volume;
    }
}

fn main() {
    let order = TradingOrder {
        id: 1001,
        symbol: "XAUUSD",
        price: 4130.50,
        volume: 0.10
    };

    println("Order ID: ", order.id);
    println("Notional Value: $", order.total_notional());
}

Compile and run:

.\bin\nyx.exe -i order.nyx -r

📐 The Nyx Memory Advantage

Traditional systems programming forces compromises between memory safety, deterministic execution, and developer cognitive load:

graph TD
    subgraph Trilemma ["The Systems Programming Memory Trilemma"]
        A["<b>VERTEX 1: Memory Safety</b><br>Zero Use-After-Free · Zero Data Races"] 
        B["<b>VERTEX 2: Deterministic Speed (No GC)</b><br>0.00ms Pauses · O(1) Bump Frames"] 
        C["<b>VERTEX 3: Developer Ergonomics</b><br>Zero Lifetime Annotations · Rapid Flow"]

        A ---|"C / C++ (Unsafe: 70% CVEs)"| B
        A ---|"Rust (Borrow Checker 'a Tax)"| C
        B ---|"Java / Go (GC Pauses & 3x RAM)"| C
    end

    subgraph NyxSolution ["The Nyx Synthesis"]
        N["🌙 <b>Nyx Systems Language</b><br>✨ Automatic Static Region Inference<br>✨ O(1) Region Bump Frames<br>✨ Unifies All 3 Vertices"]
    end

    Trilemma -.-> NyxSolution
Loading
  • Zero Garbage Collection Pauses: Guaranteed 0.00ms pause times for real-time control, robotics kernels, and high-frequency trading.
  • Zero Lifetime Syntax Burden: The compiler's escape analyzer infers allocation regions automatically at compile time without 'a or 'b annotations.
  • Sub-Nanosecond Allocations: Monotonic region arenas reset in $O(1)$ upon scope termination with zero memory fragmentation.

📚 Technical Documentation (GitHub Markdown)

All documentation is natively formatted in clean Markdown for effortless reading and indexing directly on GitHub:


⚠️ Name Disambiguation — Which "Nyx" is this?

Nyx (this project) is the systems programming language by Simeon Bala / 9jaonCloud Engineering: Zero-GC region inference, capability-secure microkernel, and the NyxOS operating system. Compiled via nyx.exe / nyxc.

Not to be confused with unrelated projects that share the name "Nyx" or .nyx extension, most notably NyxCode (nyxcode.io by Fabian Budde), which is a web full-stack code generator distributed as an npm binary.

They share no code, no maintainers, and no technical relationship.


🛡️ Supply-Chain Integrity & Official GitHub Releases

To ensure enterprise-grade security and supply-chain provenance:

  • GitHub Releases: Official compiler binaries ( yx.exe and yxc) are distributed as verified assets on GitHub Releases.
  • Cryptographic Checksums: Every release asset includes accompanying SHA256SUMS.txt signatures.
  • Automated SBOM: Nyx features built-in Software Bill of Materials generation ( yx --emit-sbom), providing machine-readable SPDX/CycloneDX compliance.

🖥️ NyxOS Framebuffer Optimization (VMware & Bare-Metal)

NyxOS achieves high-performance desktop rendering in virtualized environments through:

  1. System RAM Double-Buffering: Direct 32-bit compositing in system RAM with horizontal dirty-scanline blits to slow video memory.
  2. Retained Wallpaper Caching: Pre-rendered ambient gradients and lighting cached at boot time ( yx_layer_begin / yx_layer_end).
  3. Fast Drag Mode: Window movement bypasses multi-ring soft-shadow convolution loops, keeping cursor movement at 60+ FPS under VMware SVGA/VESA framebuffers.

📜 License

The Nyx Programming Language and standard toolchain are open-source software licensed under the MIT License.

About

Nyx - the zero-GC systems programming language by Simeon Bala / 9jaonCloud Engineering. Region inference, deterministic concurrency, capability microkernel, NyxOS & Nyx Mobile OS. (Not affiliated with NyxCode, the unrelated web DSL.)

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages