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

Original title: Nimony: A New Compiler for Nim

> Hacker News story 50512779 · language: en · submitted 2026-11-16
> Web version: https://zeli.app/story/50512779
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 193 · by [Fervicus](<https://news.ycombinator.com/user?id=Fervicus>) · 💬 116
[original](<https://nimony.org/>) · [HN discussion](<https://news.ycombinator.com/item?id=50512779>)

## Summary

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.

## Key quote

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

## HN discussion (116 comments)

### [stakhanov](<https://news.ycombinator.com/item?id=50529666>)

> 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.

### [afavour](<https://news.ycombinator.com/item?id=50531471>)

> I’m curious if this closes the door on Nim’s capability to output C code which you then compile yourself. I first discovered Nim when I was looking for something that could work with Apple’s requirements to embed bitcode in iOS apps, it meant you had to use their specific version of LLVM and that ruled out a lot of languages. It always seemed like a really unique feature (though IIRC Haxe has something similar).
>
> Apple has long since removed that requirement so it doesn’t really matter anyway and I wouldn’t blame the Nim folks if it’s gone, these seem like a great set of improvements.

### [Symmetry](<https://news.ycombinator.com/item?id=50532171>)

> \> Nimony is case sensitive like most other modern programming languages. The reason for this is implementation simplicity. This might also be changed in the future.
>
> I've never been too annoyed by Nim's approach but I think this removes a complaint many people have.

### [girvo](<https://news.ycombinator.com/item?id=50529848>)

> 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!

### [polotics](<https://news.ycombinator.com/item?id=50528552>)

> This is great! Congrats to the Nim team for keeping the pedal to the metal!
>
> Sum-types, borrow-checking...  Nim 3 is beautiful.

### [eterps](<https://news.ycombinator.com/item?id=50530308>)

> 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

### [deepsquirrelnet](<https://news.ycombinator.com/item?id=50531880>)

> I did my first "real" nim project this year. I'd been tinkering with it here and there, but found a chance to use it. I'm coming from mostly python experience and found it to be a really nice experience.

### [pietroppeter](<https://news.ycombinator.com/item?id=50530160>)

> I think Nim is a great fit for the AI era. let me explain
>
> Always appreciated how Nim gives you a low cognitive load: it is easy to reason about, does not get in the way of doing stuff, you focus on what you need to do it and rarely on how you do it (specifics of the language).
>
> I think this is a great advantage in this era of automatic/AI assisted programming. The fact that the language is very readable also helps for the moments when you need/want to read the code.
>
> Nimony btw is a very cool way to evolve the mainline compiler and looking forward to use this in main Nim (but it is also something nice to experiment with)

---

## Cite

- Page: https://zeli.app/story/50512779
- Date: 2026-11-16
- Source: nimony.org (https://nimony.org/)
- Hacker News: https://news.ycombinator.com/item?id=50512779

## Other languages

- zh: https://zeli.app/zh/story/50512779 · markdown: https://zeli.app/zh/story/50512779.md
- ja: https://zeli.app/ja/story/50512779 · markdown: https://zeli.app/ja/story/50512779.md
- ko: https://zeli.app/ko/story/50512779 · markdown: https://zeli.app/ko/story/50512779.md
- de: https://zeli.app/de/story/50512779 · markdown: https://zeli.app/de/story/50512779.md
- es: https://zeli.app/es/story/50512779 · markdown: https://zeli.app/es/story/50512779.md
- ru: https://zeli.app/ru/story/50512779 · markdown: https://zeli.app/ru/story/50512779.md
