second-state/wasm-learning
关于
演示代码和示例,介绍如何为 Node.js 构建 Rust 函数,充分利用 Rust 的性能、WebAssembly 的安全性与可移植性,以及 JavaScript 的易用性。
安全与隐私实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Learning 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
探索相关项目
加载中…