Nimony: A New Compiler for Nim nimony.org · 15 points · 2 comments · HN thread T...
HN Best 200 @best
Nimony: A New Compiler for Nim nimony.org · 15 points · 2 comments · HN thread
TL;DR Nimony is a new compiler for Nim and the home of the Nim 3 language, adding borrow checking, explicit nilability, sum types and type-checked generics, with incremental and parallel builds. The site promotes nightly builds, embedded and game use cases, and the latest release, 0.6.2 (dated 2026-09-08), which includes a user report on porting real projects over a year.
- Nimony is a new compiler for Nim; the site presents it as the home of the Nim 3 language, with an FAQ explaining how it relates to Nim 2.
- Native code generation is offered for x86_64, ARM64, ARM32, AVR and RISC-V, independent of LLVM and GCC.
- Sum types drop the separate discriminator enum: variant objects use a case section and pattern matching with exhaustiveness checks.
- The borrow checker rejects mutating a sequence while it is being iterated, and generics are type checked where they are defined, with concepts describing required operations.
- Indexing can be checked with a staticContracts feature so that out-of-bounds accesses are compile-time errors.
- Nightly toolchains are built daily from the master branch; the nimony n command needs no C compiler. Latest news: Nimony 0.6.2 released 2026-09-08.
Discussion The thread is very small, with only two comments. One commenter is enthusiastic about the Nim team's progress and the Nim 3 features, especially sum types and borrow checking. The other is negative about the site's web design, calling it disgusting and suggesting it was produced by one-shot prompting. The mood is split between praise for the language and criticism of the presentation.
- Praise for Nim 3 features and the team's pace (some): One commenter congratulates the Nim team for keeping up momentum and calls Nim 3 beautiful, pointing to sum types and borrow checking as highlights.
- Website design is poor, likely AI-generated (some): The other commenter says the site looks disgusting and attributes it to one-shot prompting, a jab at generated design rather than the language itself.
#Nim #compilers #programmingLanguages #borrowChecking #embedded