Skip to content

jon-edward/cy-on-the-web

Repository files navigation

cy-on-the-web

A proof of concept for compiling Cython to WASM.

Usage

After cloning this repo, pull git submodules:

git submodule update --init --recursive --depth 1

Next, build the Python interpreter with Emscripten (this will take a long time, you only need to do this once):

source ./build_cpython_for_wasm.sh

To build ./out after activating the Emscripten environment, run:

emmake make

Once the build is complete, you can start a server from ./out:

python3 -m http.server --directory ./out

Then navigate to the test server in your browser.

About

A proof of concept for compiling Cython to WASM.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published