Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

People's main reason for using Python is the ecosystem.


Nim can use Python's ecosystem in both directions with nimpy https://github.com/yglukhov/nimpy and nimporter https://github.com/yglukhov/nimpy

This lets you gradually transition hot path Python modules to Nim, get compiled performance generally on par with C and Rust, whilst enjoying strong, static typing with great type inference.

In my experience (6-7 years 4 of which are full time) Nim strikes the perfect balance of the productivity you get with Python with high performance at the same time.

Also the metaprogramming features are incredible and, importantly, don't use a language subset but use the base Nim language itself.


Oops wrong link for nimporter. Actual link: https://github.com/Pebaz/Nimporter


That's interesting but it looks like Nim has no support for Qt yet (where Python has PyQt and PySide).


I've never used Qt myself, but the Status messaging app written in Nim does, so it's definitely doable: https://github.com/status-im/status-desktop

There's also a QML wrapper here: https://github.com/filcuc/nimqml


Use Groovy then.




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

Search: