(documentation in progress) This is a multi-language repository, demonstrating C-Rust-Node.js-Web interoperability.
It utilizes Rust as a build system, in order to compile the original C implemetations by Robin Whittle. A faithful Rust port is also included, cross-compilable to asm.js and WebAssembly via Emscripten, for use in Node.js and browsers.
git clone https://github.com/kenOfYugen/rust_node_wasm
cd rust_node_wasm
--release
flag for optimized builds)
cargo b
cargo b --target asmjs-unknown-emscripten
cargo b --target wasm32-unknown-emscripter
npm run build:all