Wasm3

🚀 A fast WebAssembly interpreter and the most universal WASM runtime
Alternatives To Wasm3
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Wasm36,105
9 days ago1March 03, 202162mitC
🚀 A fast WebAssembly interpreter and the most universal WASM runtime
Wasm Micro Runtime3,801
a day ago149apache-2.0C
WebAssembly Micro Runtime (WAMR)
Squirreljme170
2 days ago63gpl-3.0Java
SquirrelJME is a Java ME 8 Virtual Machine for embedded and Internet of Things devices. It has the ultimate goal of being 99.9% compatible with the Java ME standard.
Azure Iot Connected Factory102
2 months ago1January 01, 19008otherJavaScript
Azure IoT connected factory preconfigured solution
Embedos99
3 years ago1gpl-2.0
EmbedOS - Embedded security testing virtual machine
Deeplang72
3 months ago12bsd-3-clause
DeepLang is a new language for IoT device programming.
Greengo68
3 years ago5April 30, 20195mitPython
Simple YAML-based deployment framework for AWS Greengrass.
Warduino60
5 days ago58mpl-2.0Shell
A dynamic WebAssembly VM for embedded systems
Electroff51
2 years ago20October 13, 2021iscJavaScript
A cross browser, electron-less helper, for IoT projects and standalone applications.
Czl31
4 years ago2C
CZL编程语言
Alternatives To Wasm3
Select To Compare


Alternative Project Comparisons
Readme

SWUbanner

Wasm3

WAPM GitHub issues Tests status Fuzzing Status GitHub license

A fast WebAssembly interpreter and the most universal WASM runtime.
Based on CoreMark 1.0 and independent benchmarks. Your mileage may vary.

Twitter Discord Telegram

Getting Started

Here's a small getting started guide. Click here to start:

LIVE DEMO

Installation

Please follow the installation instructions.

Wasm3 can also be used as a library for:

Python3
Rust
C/C++
GoLang
Zig Perl
Swift
.Net
Nim
Arduino, PlatformIO, Particle QuickJS

Status

wasm3 passes the WebAssembly spec testsuite and is able to run many WASI apps.

Minimum useful system requirements: ~64Kb for code and ~10Kb RAM

wasm3 runs on a wide range of architectures (x86, x86_64, ARM, RISC-V, PowerPC, MIPS, Xtensa, ARC32, ...) and platforms:

  • Linux, Windows, OS X, FreeBSD, Android, iOS
  • OpenWrt, Yocto, Buildroot (routers, modems, etc.)
  • Raspberry Pi, Orange Pi and other SBCs
  • MCUs: Arduino, ESP8266, ESP32, Particle, ... see full list
  • Browsers. Yes, using WebAssembly itself!
  • wasm3 can execute wasm3 (self-hosting)

Features

Webassembly Core Proposals Extra
Import/Export of Mutable Globals Structured execution tracing
Non-trapping float-to-int conversions Big-Endian systems support
Sign-extension operators Wasm and WASI self-hosting
Multi-value Gas metering
Bulk memory operations (partial support) Linear memory limit (< 64KiB)
Multiple memories
Reference types
Tail call optimization
Fixed-width SIMD
Exception handling

Motivation

Why use a "slow interpreter" versus a "fast JIT"?

In many situations, speed is not the main concern. Runtime executable size, memory usage, startup latency can be improved with the interpreter approach. Portability and security are much easier to achieve and maintain. Additionally, development impedance is much lower. A simple library like Wasm3 is easy to compile and integrate into an existing project. (Wasm3 builds in a just few seconds). Finally, on some platforms (i.e. iOS and WebAssembly itself) you can't generate executable code pages in runtime, so JIT is unavailable.

Why would you want to run WASM on embedded devices?

Wasm3 started as a research project and remains so by many means. Evaluating the engine in different environments is part of the research. Given that we have Lua, JS, Python, Lisp, ... running on MCUs, WebAssembly is actually a promising alternative. It provides toolchain decoupling as well as a completely sandboxed, well-defined, predictable environment. Among practical use cases we can list edge computing, scripting, plugin systems, running IoT rules, smart contracts, etc.

Used by

Further Resources

Demos
Installation instructions
Cookbook
Troubleshooting
Build and Development instructions
Supported Hardware
Testing & Fuzzing
Performance
Interpreter Architecture
Logging
Awesome WebAssembly Tools

License

This project is released under The MIT License (MIT)

Popular Virtual Machine Projects
Popular Internet Of Things Projects
Popular Virtualization Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
C
Virtual Machine
Internet Of Things
Serverless
Particles
Smart Contracts
Scripting
Jit
Edge Computing