(no title)
throwasehasdwi | 8 years ago
About JavaScript, many other languages have had async/await for a long time. I have no idea why JS made such a huge deal of promises, I guess they're better than the callback hell before. Of course, in most languages using async isn't nearly as important for performance because they have thread pools.
Some interfaces aren't and won't be asynchronous (like Linux file IO) so eventually JS will support proper threads and we can stop talking about how great asynchronous programming is (it isn't).
iainmerrick|8 years ago
async/await was popularized in C#, which does have threads.
jdmichal|8 years ago
oaiey|8 years ago
jrs95|8 years ago
balfirevic|8 years ago
This blog posts elaborates on that better then I could do here, so I'm just going to link to it: http://journal.stuffwithstuff.com/2015/02/01/what-color-is-y...
coldtea|8 years ago
v8's JIT is many times faster than Python in CPU bound tasks without any asynchronicity involved.
flamedoge|8 years ago