Fascinating writeup by @hoodmane.bsky.social of Pyodide's WebAssembly JS promise integration, including a description and fix for the linear memory stack reentrancy problem.
blog.pyodide.org/posts/jspi-w...
blog.pyodide.org
Integrating JSPI with the WebAssembly C Runtime
Using JSPI with C code compiled to the wasm32-unknown-unknown target