Hacker News new | ask | show | jobs
by Joker_vD 681 days ago
Both are general-purpose, high-level programming languages. Why not compare them? Say, I am considering starting a new programming project, I need to chose a language. Nim looks fine, so does Python, so which one do I chose? I need to compare those languages to make a motivated choice, right?

Anyhow, what are we allowed to compare with Python?

1 comments

> Nim looks fine, so does Python, so which one do I chose?

Assuming you need to use libraries for stuff, you choose the language that has the better ecosystem, more users and more StackOverflow support. As a company you choose the language that makes it easier to hire devs in, and move them around from a project to another. Only when execution performance trumps all other concerns you select the faster/stricter language, and only for mature projects not for a POC which might be thrown away soon.

So you use the strict/performant languages for mature, execution intensive code that doesn't need much library support and where you don't need to hire many devs.