second-state/wasm-learning
About
Demo code and recipes for building Rust functions for Node.js that take advantage of Rust's performance, WebAssembly's security and portability, and JavaScript's ease of use.
Security & PrivacyMeasured star growth
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalLearning WebAssembly, Rust, and Node.js
Brought to you by the Open source dev team at Second State. Follow us on Twitter, Facebook, LinkedIn, YouTube, or Medium.
On the server side in Node.js
Developers: Getting started building Rust + JavaScript hybrid apps for Node.js.
- Rust's performance
- WebAssembly's security and portability
- JavaScript's ease-of-use
Quickstart: Fork this repository and start editing the source code files on GitHub. Learn more.
Function input and return values
Passing and return values of arbitrary types from Node.js to Rust
Calling Node.js functions from Rust
Inside the web browser
Those examples demonstrate how to access WASM programs from the JS engine inside web browsers.
A basic example to perform numeric computation in WASM
An example to manipulate strings in a WASM program
Learning Rust
Explore related projects
Loading…