Skip to content

Trying Asyncify and JSPI with different C features (dyncalls, setjmp, the two combined)

Notifications You must be signed in to change notification settings

adamziel/jspi-experiments

Repository files navigation

JSPI experiments

This repo explores building C programs using specific features to WASM using Emscripten, Asyncify, and JSPI.

Explorations related to JSPI support for WordPress Playground:

WordPress/wordpress-playground#134

Explore specific directories and read the code to learn more. Each directory has a Makefile and a few build targets. Most examples can be build and ran as below.

For Node.js

Remember to install Node.js v22 as JSPI is only supported there as of April 26th, 2024

make build_node
make run_node

For Web

Try in Chrome with #enable-experimental-webassembly-jspi flag turned on chrome://flags

make build_web
make run_web

About

Trying Asyncify and JSPI with different C features (dyncalls, setjmp, the two combined)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages