Hacker News new | ask | show | jobs
by gtrs 2926 days ago
Totally feasible, I ported Python code to Nim and it was super easy and I got a huge performance boost.

If performance isn't a big deal, the other thing I've noticed is that compilation guarantees a much higher quality of code compared to interpretation. At least compared to Python, I have been hit by bad code which didn't get caught because there was no test for it. I've not faced that with Nim yet.

No doubt you can still have issues but it's one less thing to worry about.

1 comments

You also gain portability; no worrying about which Python version is installed on a target machine for example.