Nimony's nightly toolchain builds native binaries for Linux, macOS and Windows without requiring a C compiler.
*Nimony arrives as the first Nim 3 compiler, promising memory‑safe native binaries across embedded, game and full‑stack workloads. Its incremental, parallel build engine and built‑in safety checks aim to cut bugs before they compile.*
Nimony hit the streets on September 8, 2026, positioning itself as the first compiler built around Nim 3. The toolchain promises native binaries for a wide range of architectures without a C compiler in the loop. Its safety‑first design—borrow checking, static contracts and automatic reference counting—targets the chronic bugs that plague low‑level development. By delivering incremental, parallel builds, Nimony aims to keep developers in the fast feedback loop essential for games, embedded firmware and full‑stack services. The release arrives with a year‑long porting case study, showing real‑world code moving from Nim to Nimony without losing performance or safety.
Nimony is a new compiler for the Nim language and the home of Nim 3. It introduces borrow checking, explicit nilability, sum types and checked generics from day one. Incremental and parallel builds keep edit‑compile‑fix cycles fast. The compiler targets native code generation for x86_64, ARM64, ARM32, AVR and RISC‑V without relying on LLVM or GCC, eliminating surprises from C's undefined behavior. By compiling to C, native binaries, JavaScript and WebAssembly, Nimony lets a single code base run on microcontrollers and browsers alike. Its concise, indentation‑based syntax reduces boilerplate, while the compiler itself acts as a reviewer, rejecting unsafe patterns at compile time.
Nimony hardens the runtime against heap exhaustion: running out of memory becomes a handled condition, not a crash. A variant of borrow checking prevents iterator‑related reallocation errors; the example in the manual shows a compile‑time error when a sequence is borrowed during iteration. Static contracts enforce provable in‑bounds indexing: any out‑of‑range access triggers a compile‑time error, and modules with {.feature: "staticContracts"} must prove every access is safe. Generics are type‑checked where defined, not only when instantiated, further reducing runtime surprises. The borrow checker also rejects mutation under active borrows, turning classic footguns into compile errors.
Nimony ships nightly toolchains for Linux x86_64, Linux ARM64, macOS Apple silicon and Windows x86_64. It generates native code for x86_64, ARM64, ARM32, AVR and RISC‑V, independent of LLVM and GCC. The compiler can produce C, native binaries, JavaScript and WebAssembly, covering everything from embedded microcontrollers to browsers. The standard library includes linear‑time regular expressions, a TLS 1.3 client, HTTP client and server, JSON handling and a math library, giving developers a full stack without external dependencies.
On 2026‑09‑08 Nimony 0.6.2 was released. The update bundles a guest report from a user who spent a year porting real projects: a Vulkan visualiser, a web framework and an embedded server. The release underscores Nimony's readiness for production workloads across graphics, networking and constrained devices. Older releases, including the 0.2 version, remain accessible on the news page, offering a clear migration path for early adopters.
Yes. After unpacking the nightly toolchain, you can run nimony n and compile without needing a C compiler.
Nimony can compile to C, native code, JavaScript and WebAssembly, covering microcontrollers to browsers.
Yes. It generates native code for AVR and RISC‑V and runs independent of LLVM and GCC, making it ideal for embedded targets.
Nimony's blend of native performance, cross‑platform reach and compile‑time safety marks a decisive step for Nim developers seeking to abandon C‑centric toolchains. If the early adopters' year‑long migration holds true, the compiler could reshape how embedded, game and full‑stack projects are built, forcing the industry to reckon with a language that catches more bugs before they ever run.
Sources: Hacker News (Nimony: A New Compiler for Nim)