Demo spotlights

Image recognition

Image recognition

Rust functions for AI inference in Node.js. Use pre-trained Tensorflow models to analyze images.

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.


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 Codepsaces.

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 storage interface is a Rust API that allows programs to persist arbitrary data into a high performance key/value store attached to the SSVM. It works similarly to WASI but for databases, and it achieves much higher data throughput than WASI file system calls. The SSVM storage interface is crucial for developing stateful functions for web services.

3 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
FreeCodeCamp GitHub Codespaces
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