1 Hardware & MMIO
Zero-overhead memory-mapped I/O, volatile bitfield modifications, GPIO pin controllers, SPI/I2C buses, and zero-jitter Interrupt Service Routines (ISRs).
2 LoRa ESP32 & Mesh
Native SX1262/SX1276 transceiver driver with spread-spectrum modulation (SF7-SF12), frequency synthesis, RSSI/SNR telemetry, and decentralized mesh routing.
3 Sovereign OS Kernel
Monolithic/Microkernel operating system architecture in pure Nyx: Virtual Memory Paging, Preemptive Task Schedulers, and Linear Framebuffer GUI Compositor.
4 NyxOS Declarative Engine
Content-addressed store /nyx/store/<sha256>, pure sandboxed derivations, generational booting, and zero-downtime instant transactional rollback.
1. Bare-Metal Hardware & Embedded Programming (std.embedded.hardware)
Nyx delivers C/Rust-equivalent zero-cost abstractions for direct hardware manipulation with compile-time memory boundary verification and volatile pointer safety.
- Volatile MMIO Operations: Direct memory register reads and writes with hardware atomic bit-masking without undefined behavior.
- Peripheral Abstractions: Built-in drivers for GPIO, Hardware SPI, I2C, UART, and DMA descriptors.
- Deterministic ISR Handlers: Zero allocation, no garbage collection pauses, static register preservation for microsecond-level response times.
2. LoRa ESP32 & Long-Range Off-Grid Mesh Networking (std.net.lora)
Decentralized communication for off-grid IoT sensors, mobile field nodes, and autonomous edge devices operating over kilometer-range sub-GHz frequencies (868/915 MHz).
- SX1262 / SX1276 Hardware Control: Configure Spreading Factor (SF7-SF12), Bandwidth (125-500 kHz), and Coding Rate (4/5-4/8).
- Decentralized Multi-Hop Mesh Routing: Automatic hop count tracking, packet deduplication ring buffers, and peer-to-peer rebroadcasting.
- Zero-Allocation Packet Crypto: In-place ChaCha20-Poly1305 / AES-128-CTR packet encryption with zero runtime allocation overhead.
3. Sovereign OS Kernel: Native OS in Pure Nyx (std.os.kernel)
Sovereign monolithic and microkernel architectures written entirely in native Nyx syntax:
- Virtual Memory Manager: Identity-mapped kernel pages, user space page tables, and region-per-task memory boundaries.
- Preemptive Pre-Calculated Scheduler: Deterministic quantum round-robin task switching with hardware timer IRQs.
- Direct Framebuffer Window Compositor: Linear VESA/GOP 120 FPS windowing manager rendering directly to display RAM without bloated display servers.
4. NyxOS: Declarative, Immutable & Reproducible Architecture
Solving system fragility and package dependency hell through pure declarative configuration and content-addressed storage:
- Content-Addressed Store (
/nyx/store/<sha256>-<pkg>-<ver>): Bit-for-bit reproducible derivations where every binary is isolated and immutable. - Atomic Generational Switching: System upgrades switch a single symlink (
/run/current-system) atomically at boot time or live in memory. - Transactional Rollbacks: Instantly revert corrupt updates or failed kernel drivers to previous known-good generations with 100% state recovery.