A Review of Nim 2: The Good and Bad with Example Code

A Review of Nim 2: The Good & Bad with Example Code August 28, 2025 Time to read: 14 mins I’ve been using Nim for about 1-2 years now, and I believe the language is undervalued. It’s not perfect, of course, but it’s pleasant to write and read. My personal website uses Nim. After reading a recent article on Nim (“Why Nim”) and the associated HN comments, it’s clear that comments and some information about Nim are misleading and outdated. Since Nim 2, a tracing Garbage Collector is not the default nor the recommended memory management option. Instead, the default memory management model is ORC/ARC, which supports C++-esque RAII with destructors, moves, and copies. When you use ref types, your object instances are reference-counted, similar to a shared_ptr in C++, but it does not…