A promising feature: JavaScript Promise Integration with Francis McCabe - WasmAssembly

AUG 26, 202452 MIN
WasmAssembly

A promising feature: JavaScript Promise Integration with Francis McCabe - WasmAssembly

AUG 26, 202452 MIN

Description

In this episode, Thomas Steiner chats with Francis McCabe from Google, who's the champion of the JavaScript Promise Integration and the Stack Switching proposals. They go from talking about synchronous assumptions in code over to discussing the JavaScript Promise Integration (JSPI) proposal and how to use it in practice, its performance implications, and how to use it in practice. After exploring a neat side effect of JSPI, namely lazy loading, the fall into the rabbit hole of comparing JSPI to the upcoming ES module integration of Wasm. Finally, Francis gives an overview of his other early stage Stack Switching proposal.

Resources: The Paper introducing Go! → https://goo.gle/3AiyCrY  The JSPI proposal → https://goo.gle/3yxfkOM  JSPI entering origin trial → https://goo.gle/4cjprok  JSPI origin trial → https://goo.gle/4cmjxD4 Introducing JSPI → https://goo.gle/3YEPT90  The new JSPI API → https://goo.gle/4cie1RN  The JSPI API change → https://goo.gle/4cie1RN  Code example → https://goo.gle/3Arlq3P  Stack-Switching Proposal for WebAssembly → https://goo.gle/3Ar2KRM The Vivant series → https://goo.gle/46Htp97