Demo spotlights
AI as a service
Fast and safe AI inference in Node.js, written in Rust. Run pre-trained Tensorflow models to classify images & detect faces.
Privacy computing
Privacy-first and scalable data exchange service over the web. A Mozilla Open Labs project.
Machine learning
Machine learning in Rust could be 25x faster than Python. Detect patterns and visulaize your data.
Why WebAssembly
As hardware miniaturization hits the quantum limit, software performance becomes the driver of growth. WebAssembly is a key technology that makes software more efficient, while preserving safety, portability, and software engineering best practices we built up in the past 25 years.
Learn more Security PerformanceStarter code templates
Node.js
Deno
- A starter template for using Rust functions in Deno applications. Deno supports applications written in TypeScript, JavaScript, and WebAssembly.
Substrate/blockchain
- A Substrate project template to create a new blockchain with the next-generation Ethereum virtual machine for executing smart contracts.
Programming tutorials
Learn to create and deploy your first Rust function as a microservice in Node.js. It runs inside a Second State WebAssembly VM for safety, portability & speed.
You can pass any data type between JavaScript and Rust functions running in SSVM. In some cases, you will need to rely on JSON to encapsulate values.
The high-performance SSVM is well suited to run computationally intensive web services, such as data processing and machine learning services.
SSVM supports the WebAssembly System Interface (WASI). It allows WebAssembly bytecode programs to access system resources such as the random seed, standard I/O, and the file system.
Built on the capability-based security model, the SSVM provides a WASI-like Rust API for Tensorflow native functions. It could boost AI performance by 1000x and enable secure sharing of hardware.
SSVM provides a WASI-like Rust API to safely call native programs. The native program is typically a thin wrapper around a native library that is not yet supported in WebAssembly.