Re:JavaScript async/await implemented in V8
by AgentME on Monday May 16, 2016 @10:38PM
(#11711061)
Async/await is just syntax-sugar around Promises. No busy loops involved. (Those generally don't work in Javascript anyway.)
[ Parent
| on HN ]
Re:JavaScript async/await implemented in V8
by BinaryIdiot on Tuesday May 17, 2016 @12:31AM
(#11711354)
This overlooks Promises needing to be polyfilled. Though that's certainly not using busy loops either (though most of what I've seen overlooks more performant setTimeout(fn, 0) alternatives which is unfortunate).