Re:The Cost of JavaScript
by crandycodes on Wednesday November 15, 2017 @03:58PM
(#15707695)
Asynchronous I/O refers to the fact that all I/O interactions default to being asynchronous in JS, not the fancy new `await` keyword, which is nice, but just sugar around Promises. The result of this default is that makes a best practice into a feature, not something I have to manage as a developer.
Because of Node or the browser's event loop? It's not like JS was the first language to have a built-in event loop. Visual Basic did exist.
Re:The Cost of JavaScript
by austincheney on Wednesday November 15, 2017 @03:47PM
(#15707600)
Yes, but not much before. It took heavy evangelism and Google Chrome's JIT to make JavaScript popular about 10 years ago.
Re:The Cost of JavaScript
by dullgiulio on Thursday November 16, 2017 @04:34AM
(#15711345)
Maybe you don't remember the early 2000s when people were adding flying butterflies around the cursor with Javascript?
Recently there has been hype and explosion but web development (development on the browser, which means Javascript for lack of alternatives) had a long way coming.
Simply put, Javascript is the only language in the browser.