<commit_before><img align="right" width="30%" src="/extra/screenshot.png">

# <img src="/extra/wasm-symbol.svg" width="32" height="32" /> Wasm3

[![GitHub issues](https://img.shields.io/github/issues/vshymanskyy/wasm3.svg)](https://github.com/vshymanskyy/wasm3/issues)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/vshymanskyy/wasm3)

This is an (experimental) high performance WebAssembly interpreter written in C.

**∼ 13.5x faster** than other wasm interpreters (`wac`, `life`, `wasm-micro-runtime`)
**∼ 5..6x slower** than state of the art wasm `JIT` engines (`liftoff`, `cranelift`)
**∼ 12.5x slower** than native execution
<sub>* Based on CoreMark 1.0 benchmark. Your mileage may vary.</sub>

## Status

WebAssembly Core Specification conformance: **94%**

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

`wasm3` currently runs on a wide range of [platforms](/platforms):
- <img src="https://cdn.rawgit.com/simple-icons/simple-icons/develop/icons/linux.svg" width="18" height="18" /> Linux,
<img src="https://cdn.rawgit.com/simple-icons/simple-icons/develop/icons/windows.svg" width="18" height="18" /> Windows,
<img src="https://cdn.rawgit.com/simple-icons/simple-icons/develop/icons/apple.svg" width="18" height="18" /> OS X
- <img src="https://cdn.rawgit.com/simple-icons/simple-icons/develop/icons/android.svg" width="18" height="18" /> Android
- <img src="https://cdn.rawgit.com/simple-icons/simple-icons/develop/icons/raspberrypi.svg" width="18" height="18" /> Raspberry Pi, Orange Pi and other **SBC**s<commit_msg>Fix formatting<commit_after><img align="right" width="30%" src="/extra/screenshot.png">

# <img src="/extra/wasm-symbol.svg" width="32" height="32" /> Wasm3

[![GitHub issues](https://img.shields.io/github/issues/vshymanskyy/wasm3.svg)](https://github.com/vshymanskyy/wasm3/issues)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/vshymanskyy/wasm3)

This is an (experimental) high performance WebAssembly interpreter written in C.

**∼ 13.5x faster** than other wasm interpreters (`wac`, `life`, `wasm-micro-runtime`)  
**∼ 5..6x slower** than state of the art wasm `JIT` engines (`liftoff`, `cranelift`)  
**∼ 12.5x slower** than native execution  
<sub>* Based on **CoreMark 1.0** benchmark. Your mileage may vary.</sub>

## Status

WebAssembly Core Specification conformance: **94%**

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

`wasm3` currently runs on a wide range of [platforms](/platforms):
- <img src="https://cdn.rawgit.com/simple-icons/simple-icons/develop/icons/linux.svg" width="18" height="18" /> Linux,
<img src="https://cdn.rawgit.com/simple-icons/simple-icons/develop/icons/windows.svg" width="18" height="18" /> Windows,
<img src="https://cdn.rawgit.com/simple-icons/simple-icons/develop/icons/apple.svg" width="18" height="18" /> OS X
- <img src="https://cdn.rawgit.com/simple-icons/simple-icons/develop/icons/android.svg" width="18" height="18" /> Android
- <img src="https://cdn.rawgit.com/simple-icons/simple-icons/develop/icons/raspberrypi.svg" width="18" height="18" /> Raspberry Pi, Orange Pi and other **SBC**s
{'fraction_non_alphanumeric': 0.18845553822152886, 'fraction_numerical': 0.029329173166926677, 'mean_word_length': 5.1891891891891895, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 18, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4241321', 'n_tokens_mistral': 1192, 'n_tokens_neox': 1104, 'n_words': 240}