Assemblyscript: Async/Await Support in the future

Created on 18 Sep 2020  路  3Comments  路  Source: AssemblyScript/assemblyscript

Was chatting with @RReverser after they gave their awesome Asyncify talk from Wasm Live!

Asyncify is a tool that binaryen provides. And given the nature of our JS background, would be cool if we could utilize Asyncify in some way to implement Async/Await.

More of an idea, that something actionable today. But worth considering for the future! :smile:

enhancement question

Most helpful comment

No problem)

All 3 comments

Hey, I guess we already discuss about this here or in slack long time ago. Asyncify definitely useful but only for cross module boundary. Internally we picked asymmetric stackless coroutines which first of all be a construction block for generators which will utilized by async/await afterwards=)

@MaxGraey

Ah! Thanks for calling out #376 ! And thanks for expanding on it! I'll close this issue as a duplicate! Thanks :smile:

No problem)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lastmjs picture lastmjs  路  4Comments

evgenykuzyakov picture evgenykuzyakov  路  3Comments

solidsnail picture solidsnail  路  5Comments

jarble picture jarble  路  3Comments

andy-hanson picture andy-hanson  路  4Comments