After struggling with a mix of sync/async JS functions these last few days, I found @munificentbob's http://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function/ … right on point
-
-
Replying to @yoavweiss @munificentbob
Now we have it in JS, I wonder if async await compiles to faster code than promises or callbacks?
1 reply 0 retweets 0 likes -
Replying to @Lady_Ada_King @munificentbob1 reply 0 retweets 1 like
-
Replying to @yoavweiss @Lady_Ada_King and
Afaik it's not just sugar. Routing the question to
@rossmcilroy who can comment from Ignition point of view wrt which is faster.1 reply 0 retweets 1 like -
Replying to @marjakh @yoavweiss and
Not just sugar. I have an upcoming blog post about an engine optimization that is possible with async/await but not with desugared promises.
1 reply 0 retweets 5 likes -
Looking forward to it!
2 replies 0 retweets 2 likes
Replying to @Lady_Ada_King @marjakh and
Mathias Bynens Retweeted Mathias Bynens
Mathias Bynens added,
9:21 AM - 2 Oct 2017
0 replies
0 retweets
2 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.
Asynchronous stack traces: why `await` beats `.then()`