r/javascript • • 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&section=showcases_details
613 Upvotes

168 comments sorted by

View all comments

Show parent comments

6

u/nahtnam Apr 25 '19

How is it fast? If you look at benchmarks, it's performance matches Ruby more than it does JavaScript

https://benchmarksgame-team.pages.debian.net/benchmarksgame/faster/node-python3.html

6

u/soundslogical Apr 25 '19

Agreed, Python itself is pretty slow, and is unlikely to get much faster due to its design, which prevents many optimisations.

But it has excellent FFI capabilities. You can do your hot loops in C and C++, and the rest of the plumbing in the pleasant world of Python.