Hacker News new | ask | show | jobs
by maximus-decimus 1280 days ago
Well, crap. I just bought his book about version 1 lol.
3 comments

> Don’t panic! One of our design goals was to make it easy to write code that works with Nim version 1 and 2.
The language didn't change that much.
Please share to me if you don't mind.
Share the book? Unfortunately I had to buy a physical copy because Andreas refuses to make a pdf version (to avoid pirating I think?).

Honestly though, I'm a bit let down in that it doesn't seem to cover what I find the most interesting aspect of Nim : its ability to compile to multiple intermediate programming languages like C, C++ or Javascript and use their libraries. I was hoping to find out how to write VSCode extensions entirely in TypeScript (I know it's possible because the Nim vscode extension itself is now 100% Nim, but there seems to be no tutorial for how to do it online)

I had started reading "Nim in Action" and I might finish that first since it does cover FFI, it it is rather old (it was released before version 1.0)

You can find Nim in Action on the Mannings website : https://www.manning.com/books/nim-in-action