All Projects โ†’ wasm3 โ†’ Wasm3

wasm3 / Wasm3

Licence: mit
๐Ÿš€ The fastest WebAssembly interpreter, and the most universal runtime

Programming Languages

c
50402 projects - #5 most used programming language
C++
36643 projects - #6 most used programming language
python
139335 projects - #7 most used programming language
CMake
9771 projects
Makefile
30231 projects
shell
77523 projects

Projects that are alternatives of or similar to Wasm3

Wasm Micro Runtime
WebAssembly Micro Runtime (WAMR)
Stars: โœญ 2,440 (-44.23%)
Mutual labels:  iot, webassembly, wasm, embedded, interpreter
Firecracker
Secure and fast microVMs for serverless computing.
Stars: โœญ 16,826 (+284.59%)
Mutual labels:  serverless, sandbox, containers, virtual-machine
Wasmjit
Small Embeddable WebAssembly Runtime
Stars: โœญ 1,063 (-75.7%)
Mutual labels:  webassembly, wasm, embedded, interpreter
Raylib
A simple and easy-to-use library to enjoy videogames programming
Stars: โœญ 8,169 (+86.72%)
Mutual labels:  iot, wasm, embedded, webassembly
Utensor
TinyML AI inference library
Stars: โœญ 1,295 (-70.4%)
Mutual labels:  iot, edge-computing, embedded
Utensor cgen
C++ code generator for uTensor https://utensor-cgen.readthedocs.io/en/latest/
Stars: โœญ 42 (-99.04%)
Mutual labels:  iot, edge-computing, embedded
Szl
A lightweight, embeddable scripting language
Stars: โœญ 134 (-96.94%)
Mutual labels:  iot, embedded, interpreter
Zenoh
zenoh unifies data in motion, data in-use, data at rest and computations. It carefully blends traditional pub/sub with geo-distributed storages, queries and computations, while retaining a level of time and space efficiency that is well beyond any of the mainstream stacks.
Stars: โœญ 182 (-95.84%)
Mutual labels:  iot, edge-computing, embedded
Deviceplane
Open source device management for embedded systems and edge computing
Stars: โœญ 917 (-79.04%)
Mutual labels:  iot, edge-computing, embedded
Yomo
๐Ÿฆ– Streaming-Serverless Framework for Low-latency Edge Computing applications, running atop QUIC protocol, engaging 5G technology.
Stars: โœญ 279 (-93.62%)
Mutual labels:  serverless, iot, edge-computing
Neardb
Simple document db made for infinitely scalable globally distributed reads.
Stars: โœญ 92 (-97.9%)
Mutual labels:  serverless, iot, edge-computing
Ink
Parity's ink! to write smart contracts
Stars: โœญ 407 (-90.7%)
Mutual labels:  smart-contracts, webassembly, wasm
Lam
๐Ÿš€ a lightweight, universal actor-model vm for writing scalable and reliable applications that run natively and on WebAssembly
Stars: โœญ 176 (-95.98%)
Mutual labels:  webassembly, wasm, virtual-machine
Sod
An Embedded Computer Vision & Machine Learning Library (CPU Optimized & IoT Capable)
Stars: โœญ 1,460 (-66.63%)
Mutual labels:  iot, webassembly, embedded
Alchemyvm
WebAssembly Virtual Machine Built In Elixir
Stars: โœญ 176 (-95.98%)
Mutual labels:  webassembly, wasm, interpreter
Wain
WebAssembly implementation from scratch in Safe Rust with zero dependencies
Stars: โœญ 160 (-96.34%)
Mutual labels:  webassembly, wasm, interpreter
cabasa
Haxe Framework for WebAssembly
Stars: โœญ 30 (-99.31%)
Mutual labels:  virtual-machine, webassembly, wasm
Wasm Forth
A Forth implementation compiling to WebAssembly.
Stars: โœญ 92 (-97.9%)
Mutual labels:  webassembly, wasm, interpreter
Ops
ops - build and run nanos unikernels
Stars: โœญ 552 (-87.38%)
Mutual labels:  serverless, edge-computing, sandbox
TypeScriptXX
๐Ÿงท Stay safe! Type-safe scripting for C++ using TypeScriptToLua and CMake with auto-generated declarations.
Stars: โœญ 33 (-99.25%)
Mutual labels:  embedded, webassembly, wasm

Wasm3

WAPM GitHub issues Tests status Fuzzing Status GitHub license

The fastest WebAssembly interpreter, and the most universal 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
Swift โ”‚ .Net โ”‚ 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)
โ˜ Reference types
โ˜ Tail call optimization
โ˜ Fixed-width SIMD
โ˜ Multiple memories
โ˜ 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)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].