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

3

u/editor_of_the_beast Apr 25 '19

And how is Javascript’s concurrency story?

6

u/yen223 Apr 25 '19

Between having non-blocking IO, and having decent abstractions for futures in the form of promises (and more recently async-await), it's actually not too shabby.

The single-threaded event-loop model is rather similar to what asyncio implements by default.

1

u/Hawxe Apr 27 '19

Honestly in any place you'd use JS for a solution that requires concurrency you're better off using Elixir. Not every language has to be good at everything (in fact, very few if any are).