I'm excited to announce that JavaScript Promise Integration (JSPI) is 
entering a Chrome origin trial in version 123 <https://v8.dev/blog/jspi-ot>. 
JSPI offers a new way to bridge synchronous C/C++ code with asynchronous 
JavaScript.

Highlights:

   - Code Size Reduction: JSPI promises significantly smaller Wasm output 
   sizes compared to asyncify.
   - Performance: In most cases JSPI should be faster, but there might be 
   scenarios where issues arise (see the V8 blog for details 
   <https://v8.dev/blog/jspi-ot>).

Call to Action: If you're using ASYCNIFY=1 or need to interact with async 
JS, we encourage you to try out JSPI during the origin trial and provide 
feedback. To enable JSPI in Emscripten use the setting -sASYNCIFY=2 and 
refer to the asyncify docs 
<https://emscripten.org/docs/porting/asyncify.html> for more information.

Let us know if you run into issues! 
<https://github.com/emscripten-core/emscripten/issues>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/3e6cfe84-11db-4235-b548-edee7c68cf40n%40googlegroups.com.

Reply via email to