3 ms·
At this stage in my career, Python is my most used language, but I would prefer static typing (ideally with type inference) and native executables. I've been le
by cicero 8y ago
At this stage in my career, Python is my most used language, but I would prefer static typing (ideally with type inference) and native executables. I've been learning Haskell for that reason, but I see that Nim would also fulfill those requirements. How does Nim compare with Haskell, including its maturity and community?
- narimiran 8y ago> How does Nim compare with Haskell, including its maturity and community? Nim is not as mature nor battle-tested as Haskell. Haskell has more users and it is more widely spread, so it would be a safe(r) bet. I'm also coming from Python, and I have tried several languages (including Haskell) until I kinda settled with Nim. I really like the similarities in the syntax between Nim and Python, which allows me to easily transfer my "Python thinking" into Nim code. There is also a possibility to only translate some slow/CPU-intensive parts of Python code to Nim, and then call it from Python (FFI). Regarding community - the Nim community (IRC/Gitter) has been very welcoming to me and to my beginner/dumb questions - I guess this is the advantage of a small community - there's a sense of a connection and people want to help each other.