Hacker News new | past | comments | ask | show | jobs | submit login

I've been looking for an alternative to Skia so this looks interesting. Why Nim though? I've never heard of it before.



I chose to write Pixie in Nim because I really like Nim:

* Nim very fast. I can beat any C/C++ program in performance using same tricks as they do. Cleaver Memory management, inlining, static analysis, SIMD. There is no wall that you run where you need to drop into "C".

* Nim is very easy to write, I came from Python/CoffeeScript and it was a very easy transition. Nim feels like Python with Types.

* Nim is very powerful with generics/templates/macros allowing you to write DSLs quickly.

* Nim has very easy interop with C. So its very easy to use existing C libraries or low level operating system APIs.

* Nim works everywhere: From Desktop Windows/Mac/Linux, to mobile iOS/Android to embeaded devices. It even compiles to JavaScript (like CoffeeScript/Typescript or WASM) or GL shader language. It run anywhere.

* Nim has a smaller community that has not been overrun by complexity or apathy. Everything feels green and fresh and everyone helps everyone else. But still big enough that there are libraries for most things.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: