Nimony launches as the new compiler for Nim with borrow checking and sum types

Nimony: A New Compiler for Nim

Nimony is a new compiler for Nim and the home of the Nim 3 language, adding borrow checking, explicit nilability, sum types, and checked generics, with incremental and parallel builds from the start. It generates native code for x86_64, ARM64, ARM32, AVR, and RISC-V without LLVM or GCC, and its runtime treats heap exhaustion as a condition to handle rather than a crash. Version 0.6.3 is available as a nightly toolchain.

A module with {.feature: "staticContracts".} must prove every access in bounds — no buffer overruns and no run-time checks left in the binary.
  1. stakhanov

    When I was doing the rounds roughly 10 years ago, trying to find a new programming language to learn, my money for "next big thing" landed on nim. I did some personal projects and absolutely loved it but, unfortunately, opportunities to work "on the clock" in nim never materialised and then rust started eating the world.

    Thanks, Andreas Rumpf, for sticking with it for all these years: This seems like a great opportunity for me to get back into nim.

  2. eterps

    Nice, it looks like it supports option and result types as well:

    - https://nimony.org/stdlib/std/result.html

    - https://nimony.org/stdlib/std/options.html

  3. polotics

    This is great! Congrats to the Nim team for keeping the pedal to the metal!

    Sum-types, borrow-checking... Nim 3 is beautiful.

  4. girvo

    It’s super exciting. It’s basically adding all the features I wished Nim had, and I’ve been using Nim in anger since the v0.10 days!

  5. jphoward

    I love Nim but my only problem with it previously was support for dictionaries/objects felt really weird? There was some sort of JSON structure as I recall, but it didn't seem anywhere near as easy to use as the analogous structures in Python/JS. Am I misremembering? Has this been improved?

More from this day

2026-11-17