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

Nim is the closest language to Python. Translating to Python is a breeze and you get speeds comparable with pure C.



You seem like a Nimmer. What would you describe as the biggest downsides of Nim wrt Python? (aside from the fact that it's currently a niche language.)


The only two that I can think of are due to static typing:

You cannot enforce types only where you want, like mypy. Yet, type inference and automated conversions help quite a bit.

There's an unofficial REPL in the compiler but you cannot do dir() or tab-complete methods/procs. You have to rely on documentation, nimsuggests or IDEs instead.




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

Search: