Get the latest tech news

A review of Nim 2: The good and bad with example code


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.

I'll write a tiny key/value file format that can load a user-declared object to demonstrate how some of Nim's features compose in powerful ways. Hygienic simply means the variables in the expanded template don't pollute the current scope, unless explicitly marked to do so with{.inject.}. HTTP and WebSocket server: mummy HTML DSL and React alternative: karax A nice libcurl wrapper: curly Compression: zippy Fonts and vector graphics: pixie A tensor library: Arraymancer Fast JSON serialization jsony CLI argument parser: cligen

Get the Android app

Or read this on Hacker News

Read more on:

Photo of review

review

Photo of NIM

NIM

Photo of example code

example code

Related news:

News photo

Hell is Us review - nightmarish adventure treads a fine line between cryptic and tedious

News photo

Bose QuietComfort Ultra Earbuds (2nd gen) review: Still a noise-canceling powerhouse

News photo

Apple M2 Pro / Max / Ultra Device Trees Under Review For The Linux Kernel