2 ms·
Nim can use Python's ecosystem in both directions with nimpy https://github.com/yglukhov/nimpy https://github.com/yglukhov/nimpy and nimporter https://github.co
by arc619 5y ago
Nim can use Python's ecosystem in both directions with nimpy https://github.com/yglukhov/nimpy https://github.com/yglukhov/nimpy and nimporter https://github.com/yglukhov/nimpy 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.
- amelius 5y agoThat's interesting but it looks like Nim has no support for Qt yet (where Python has PyQt and PySide).
- arc619 5y agoI'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 https://github.com/status-im/status-desktop There's also a QML wrapper here: https://github.com/filcuc/nimqml https://github.com/filcuc/nimqml
- arc619 5y agoOops wrong link for nimporter. Actual link: https://github.com/Pebaz/Nimporter https://github.com/Pebaz/Nimporter