Demo spotlights

Image recognition

AI as a service

Fast and safe AI inference in Node.js, written in Rust. Use pre-trained Tensorflow models to detect faces in photos.

Learn more

Privacy computing

Privacy computing

Privacy-first and scalable data exchange service over the web. A Mozilla Open Labs project.

Learn more

Machine learning

Machine learning

Machine learning in Rust could be 25x faster than Python. Detect patterns and visulaize your data.

Learn more


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 effcient, while preserving safety, portability, and software engineering best practices we built up in the past 25 years.

Learn more Security Performance

Starter code templates

Node.js

  • A starter template for using Rust functions in Node.js applications. See why. You can fork the repository or simply open it in VSCode Codespaces.

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

Card image cap

With SSVM’s Node.js integration, you can now pass any data type between JavaScript and Rust functions. In some cases, you will need to rely on JSON to encapsulate values.

3 mins
Card image cap

Get started with Rust functions in Node.js apps. Experiment with it without having to download any software or toolchain. Just open the repository in VSCode Codespaces.

2 mins
Card image cap

Encryption and decryption are computationally intensive tasks for web apps. In this example, we will show you how to perform those tasks efficiently and safely in Rust and WebAssembly.

2 mins
Card image cap

SSVM supports the WebAssembly System Interface (WASI) standard. It allows WebAssembly bytecode programs to access system resources such as the random seed, standard I/O, and the file system. Just make those system calls through the standard libraries in your Rust code. The ssvmup tool compiles them into WebAssembly to run in SSVM.

3 mins
Card image cap

Built on the capability-based security model, the SSVM provides a Rust API to access AI hardware, such as inference chips. The Rust function calls are translated to hardware native operations and executed on the hardware. It boosts AI performance by 1000x and enables secure sharing of hardware among isolated applications.

3 mins
Card image cap

SSVM provides a Rust API to safely call native programs. The WebAssembly function can pass data to and from the native program. The native program is typically a thin wrapper around a native library that is not yet supported in WebAssembly. The example is to call the tensorflow GPU native library from WebAssembly.

7 mins

Users and partners

Press articles

Pearson Education Blockchain is the Ultimate Serverless Platform
InfoQ Deno Is Ready for Production
InfoQ Rust Breaks into TIOBE Top 20 Most Popular Programming Languages
InfoQ WebAssembly provides a way to run high performance code in Deno apps
FreeCodeCamp GitHub Codespaces
FreeCodeCamp How to Build a Personal Dev Server on a $5 Raspberry Pi
InfoQ Serverless Days 2020 Looks at Future of Serverless Architecture
HackerNoon Second State Releases Scalable Privacy Service at Mozilla Open Labs
HackerNoon Polkadot To Get WebAssembly-based Ethereum Virtual Machine (ewasm) from Second State
DEV How to call Rust functions from Node.js 🦀
CoinTelegraph Ethereum Classic Partners With Blockchain Developer and Media DApp
Daily Herald Second State releases WebAssembly for the server side