Skip to content

Proof of concept for generating python and wasm-compatible-javascript libraries off of the same rust codebase

Notifications You must be signed in to change notification settings

Niedzwiedzw/python-rust-javascript

Repository files navigation

Proof of concept for python+js+rust marriage

requirements

nightly version of rust compiler

rustup install nightly

python requirements

python3.5+, pip, virtualenv https://github.com/PyO3/maturin https://github.com/PyO3/PyO3

js requirements

https://rustwasm.github.io/docs/book/game-of-life/setup.html

building

./build.sh js  # or python

running

python

./build.sh python
cd ./example_python
./main.py

javascript

cd example-javascript/www
npm install
npm run start
# visit localhost:8080 for result

About

Proof of concept for generating python and wasm-compatible-javascript libraries off of the same rust codebase

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published