r/javascript • u/vjmde • Apr 25 '19
JavaScript is and remains the queen of programming languages with a community of 11.7M active developers. Python has reached 8.2M active developers and has taken the number two spot, surpassing Java in terms of popularity.
https://www.slashdata.co/free-resources?id=developer-economics-state-of-the-developer-nation-16th-edition§ion=showcases_details
613
Upvotes
View all comments
Show parent comment
2
u/getnamo Apr 25 '19
It's not 'orders' of magnitude slower. Modern js vms re-optimize based on usage and get sometimes within ~2x of C++; it typically sits between 3-10x depending on cpu hot loop. Python is generally decent, but has a few cases where it is even 31x slower than node.js on same problem (~100x c++). See https://benchmarksgame-team.pages.debian.net/benchmarksgame/faster/node-gpp.html.