A promising feature JavaScript Promise Integration with Francis McCabe - WasmAssembly (Дата оригинальной публикации:

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. Chapters: 0:00 - Introducing Francis McCabe 1:32 - The Go! and Go(lang) programming experience 3:22 - Synchronous assumptions 6:29 - How the explainer explains JavaScript Promise Integration (JSPI) 11:23 - The performance impact of JSPI 13:44 - The JSPI standardization journey 20:30 - JSPI’s implementation status 22:33 - The JSPI origin trial 24:26 - Using JSPI in practice 28:05 - Lazy loading with JSPI 33:38 - E5 module integration and JSPI 38:08 - The Stack Switching proposal 47:59 - Wasm, but not 51:09 - Following Francis’ work Resources: The Paper introducing Go! → The JSPI proposal → JSPI entering origin trial → JSPI origin trial → Introducing JSPI → The new JSPI API → The JSPI API change → Code example → Stack-Switching Proposal for WebAssembly → The Vivant series → Watch more WasmAssembly → Subscribe to Chrome for Developers → #WebAssembly #Wasm #JSPI #Standardization Speaker: Thomas Steiner
Back to Top