NewsCrawler.org

Nimony: a new compiler for Nim and the home of the Nim 3 language

Nimony is a new compiler for Nim and the home of the Nim 3 language. It adds borrow checking[1], explicit nilability, sum types[2] and checked generics, and its builds are incremental and parallel from the start. The project publishes a nightly toolchain built every day from its master branch, and with nimony n you do not need a C compiler.

The site says Nimony generates native code for x86_64, ARM64, ARM32, AVR and RISC-V without relying on LLVM or GCC. Its runtime is designed so that running out of memory is a condition the program can handle rather than a crash. Indexing into arrays, seqs and strings is checked at compile time, and a module marked with staticContracts must prove that every access is in bounds, with no run-time checks left in the binary.

The compiler is built around NIF[3], an interchange format that every stage of the pipeline reads and writes. The standard library includes linear-time regular expressions, a TLS 1.3 client, an HTTP client and server, and JSON. The latest news item reports that Nimony 0.6.2 was released on 8 September 2026.

Read the original nimony.orgDiscussion

Discussion

Most commenters on Hacker News welcome the project and recall their earlier interest in Nim. Some ask how the breaking changes will affect adoption, and one asks about error messages and debugging, but no answer is given. One commenter criticises the design of the website.

Sources

Published: First seen: Читать по-русски

Open as a page