{"id":13437565,"url":"https://github.com/wasm3/wasm3","last_synced_at":"2025-05-13T22:02:20.698Z","repository":{"id":38630641,"uuid":"212152900","full_name":"wasm3/wasm3","owner":"wasm3","description":"🚀 A fast WebAssembly interpreter and the most universal WASM runtime","archived":false,"fork":false,"pushed_at":"2024-09-10T16:17:06.000Z","size":5908,"stargazers_count":7543,"open_issues_count":85,"forks_count":484,"subscribers_count":125,"default_branch":"main","last_synced_at":"2025-05-06T23:12:52.904Z","etag":null,"topics":["containers","cosmopolitan","devops","edge-computing","embedded","iot","sandbox","scripting","serverless","smart-contracts","virtual-machine","wasm","webassembly"],"latest_commit_sha":null,"homepage":"https://twitter.com/wasm3_engine","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wasm3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-01T17:06:03.000Z","updated_at":"2025-05-06T05:29:46.000Z","dependencies_parsed_at":"2023-02-14T16:16:50.191Z","dependency_job_id":"32a93b1f-7043-4fb0-b0be-376d27d639ad","html_url":"https://github.com/wasm3/wasm3","commit_stats":{"total_commits":1567,"total_committers":59,"mean_commits":"26.559322033898304","dds":0.225271218889598,"last_synced_commit":"49290f19ff48c7aa59630a3f6006a9305f13ee02"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasm3%2Fwasm3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasm3%2Fwasm3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasm3%2Fwasm3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasm3%2Fwasm3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wasm3","download_url":"https://codeload.github.com/wasm3/wasm3/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254036807,"owners_count":22003652,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["containers","cosmopolitan","devops","edge-computing","embedded","iot","sandbox","scripting","serverless","smart-contracts","virtual-machine","wasm","webassembly"],"created_at":"2024-07-31T03:00:58.356Z","updated_at":"2025-05-13T22:02:20.680Z","avatar_url":"https://github.com/wasm3.png","language":"C","readme":"\n\u003e [!NOTE]\n\u003e I regret to inform the community that since [my house was destroyed by russians who invaded my country](https://twitter.com/vshymanskyy/status/1568657607229075456), **Wasm3 will enter a minimal maintenance phase**. At this time, I am unable to continue the development of new features. However, I am committed to keeping the project alive and will actively review and merge incoming Pull Requests. I deeply appreciate your understanding and support during this difficult period. **Your contributions to Wasm3 are now more valuable than ever.**\n\n\u003cimg align=\"right\" width=\"30%\" src=\"/extra/screenshot-ios.png\"\u003e\n\n# \u003cimg src=\"/extra/wasm-symbol.svg\" width=\"32\" height=\"32\" /\u003e Wasm3\n\n[![StandWithUkraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://github.com/vshymanskyy/StandWithUkraine/blob/main/docs/README.md) \n[![GitHub issues](https://img.shields.io/github/issues-raw/wasm3/wasm3?style=flat-square\u0026label=issues\u0026color=success)](https://github.com/wasm3/wasm3/issues) \n[![Tests status](https://img.shields.io/github/actions/workflow/status/wasm3/wasm3/tests.yml?branch=main\u0026style=flat-square\u0026logo=github\u0026label=tests)](https://github.com/wasm3/wasm3/actions) \n[![Fuzzing Status](https://img.shields.io/badge/oss--fuzz-fuzzing-success?style=flat-square)](https://bugs.chromium.org/p/oss-fuzz/issues/list?can=1\u0026q=proj:wasm3) \n[![GitHub license](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](https://github.com/wasm3/wasm3) \n\nA fast WebAssembly interpreter and the most universal WASM runtime.  \n\u003csub\u003eBased on [**CoreMark 1.0**](./docs/Performance.md) and [**independent**](https://00f.net/2021/02/22/webassembly-runtimes-benchmarks) benchmarks. Your mileage may vary.\u003c/sub\u003e\n\n[![X (formerly Twitter) Follow](https://img.shields.io/twitter/follow/wasm3_engine)](https://twitter.com/wasm3_engine) \n[![Discord](https://img.shields.io/discord/671415645073702925?style=social\u0026logo=discord\u0026color=7289da\u0026label=discord)](https://discord.gg/qmZjgnd)\n\n## Installation\n\n**Please follow the [installation instructions](./docs/Installation.md).**\n\nWasm3 can also be used as a library for:\n\n[\u003cimg src=\"https://cdn.jsdelivr.net/gh/simple-icons/simple-icons@develop/icons/python.svg\" width=\"18\" height=\"18\" /\u003e Python3](https://github.com/wasm3/pywasm3) │ \n[\u003cimg src=\"https://cdn.jsdelivr.net/gh/simple-icons/simple-icons@develop/icons/rust.svg\" width=\"18\" height=\"18\" /\u003e Rust](https://github.com/wasm3/wasm3-rs) │ \n[\u003cimg src=\"https://cdn.jsdelivr.net/gh/simple-icons/simple-icons@develop/icons/cplusplus.svg\" width=\"18\" height=\"18\" /\u003e C/C++](https://github.com/wasm3/wasm3) │ \n[\u003cimg src=\"https://cdn.jsdelivr.net/gh/simple-icons/simple-icons@develop/icons/d.svg\" width=\"18\" height=\"18\" /\u003e D](https://github.com/kassane/wasm3-d) │ \n[\u003cimg src=\"https://cdn.jsdelivr.net/gh/simple-icons/simple-icons@develop/icons/go.svg\" width=\"18\" height=\"18\" /\u003e GoLang](https://github.com/matiasinsaurralde/go-wasm3) │ \n[\u003cimg src=\"https://cdn.jsdelivr.net/gh/simple-icons/simple-icons@develop/icons/zig.svg\" width=\"18\" height=\"18\" /\u003e Zig](https://github.com/alichay/zig-wasm3) │\n[\u003cimg src=\"https://cdn.jsdelivr.net/gh/simple-icons/simple-icons@develop/icons/perl.svg\" width=\"18\" height=\"18\" /\u003e Perl](https://metacpan.org/pod/Wasm::Wasm3)  \n[\u003cimg src=\"https://cdn.jsdelivr.net/gh/simple-icons/simple-icons@develop/icons/swift.svg\" width=\"18\" height=\"18\" /\u003e Swift](https://github.com/shareup/wasm-interpreter-apple) │ \n[\u003cimg src=\"https://cdn.jsdelivr.net/gh/simple-icons/simple-icons@develop/icons/dotnet.svg\" width=\"18\" height=\"18\" /\u003e .Net](https://github.com/tana/Wasm3DotNet) │ \n[\u003cimg src=\"https://cdn.jsdelivr.net/gh/simple-icons/simple-icons@develop/icons/nim.svg\" width=\"18\" height=\"18\" /\u003e Nim](https://github.com/beef331/wasm3) │ \n[\u003cimg src=\"https://cdn.jsdelivr.net/gh/simple-icons/simple-icons@develop/icons/arduino.svg\" width=\"18\" height=\"18\" /\u003e Arduino, PlatformIO, Particle](https://github.com/wasm3/wasm3-arduino) │ [QuickJS](https://github.com/saghul/txiki.js)\n\n## Status\n\n`wasm3` passes the [WebAssembly spec testsuite](https://github.com/WebAssembly/spec/tree/master/test/core) and is able to run many `WASI` apps.\n\nMinimum useful system requirements: **~64Kb** for code and **~10Kb** RAM\n\n`wasm3` runs on a wide range of architectures (`x86`, `x86_64`, `ARM`, `RISC-V`, `PowerPC`, `MIPS`, `Xtensa`, `ARC32`, ...) and [platforms](/platforms):\n- \u003cimg src=\"https://cdn.jsdelivr.net/gh/simple-icons/simple-icons@develop/icons/linux.svg\" width=\"18\" height=\"18\" /\u003e Linux,\n\u003cimg src=\"https://upload.wikimedia.org/wikipedia/commons/c/c4/Windows_logo_-_2021_%28Black%29.svg\" width=\"18\" height=\"18\" /\u003e Windows,\n\u003cimg src=\"https://cdn.jsdelivr.net/gh/simple-icons/simple-icons@develop/icons/apple.svg\" width=\"18\" height=\"18\" /\u003e OS X,\n\u003cimg src=\"https://cdn.jsdelivr.net/gh/simple-icons/simple-icons@develop/icons/freebsd.svg\" width=\"18\" height=\"18\" /\u003e FreeBSD,\n\u003cimg src=\"https://cdn.jsdelivr.net/gh/simple-icons/simple-icons@develop/icons/android.svg\" width=\"18\" height=\"18\" /\u003e Android,\n\u003cimg src=\"https://cdn.jsdelivr.net/gh/simple-icons/simple-icons@develop/icons/apple.svg\" width=\"18\" height=\"18\" /\u003e iOS\n- \u003cimg src=\"https://cdn.rawgit.com/feathericons/feather/master/icons/wifi.svg\" width=\"18\" height=\"18\" /\u003e OpenWrt, Yocto, Buildroot (routers, modems, etc.)\n- \u003cimg src=\"https://cdn.jsdelivr.net/gh/simple-icons/simple-icons@develop/icons/raspberrypi.svg\" width=\"18\" height=\"18\" /\u003e Raspberry Pi, Orange Pi and other SBCs\n- \u003cimg src=\"https://cdn.rawgit.com/feathericons/feather/master/icons/cpu.svg\" width=\"18\" height=\"18\" /\u003e MCUs: Arduino, ESP8266, ESP32, Particle, ... [see full list](./docs/Hardware.md)\n- \u003cimg src=\"https://cdn.jsdelivr.net/gh/simple-icons/simple-icons@develop/icons/firefoxbrowser.svg\" width=\"18\" height=\"18\" /\u003e Browsers. Yes, using WebAssembly itself!\n- \u003cimg src=\"extra/wasm-symbol.svg\" width=\"18\" height=\"18\" /\u003e `wasm3` can execute `wasm3` (self-hosting)\n\n## Features\n\n| Webassembly [Proposals][WasmProps]  | Extra |\n| --- | --- |\n| ☑ Import/Export of Mutable Globals           | ☑ Structured execution tracing     |\n| ☑ Non-trapping float-to-int conversions      | ☑ Big-Endian systems support       |\n| ☑ Sign-extension operators                   | ☑ Wasm and WASI self-hosting       |\n| ☑ Multi-value                                | ☑ Gas metering                     |\n| ☑ Bulk memory operations (partial support)   | ☑ Linear memory limit (\u003c 64KiB)    |\n| ☑ Custom page size                           |\n| ⏳ Multiple memories                          |\n| ⏳ Reference types                            |\n| ☐ Tail call optimization                     |\n| ☐ Fixed-width SIMD                           |\n| ☐ Exception handling                         |\n| ☐ Stack Switching                            |\n\n## Motivation\n\n**Why use a \"slow interpreter\" versus a \"fast JIT\"?**\n\nIn 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.\n\n**Why would you want to run WASM on embedded devices?**\n\nWasm3 started as a research project and remains so by any 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 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.\n\n## Used by\n\n[\u003cimg src=\"/extra/logos/wasmcloud.png\" height=\"32\" /\u003e](https://wasmcloud.dev)　\n[\u003cimg src=\"/extra/logos/wowcube.png\" height=\"32\" /\u003e](https://wowcube.com)　\n[\u003cimg src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/3/3c/Siemens_AG_logo.svg/1024px-Siemens_AG_logo.svg.png\" height=\"22\" /\u003e](https://github.com/siemens/dtasm/tree/main/runtime/dtasm3)　\n[\u003cimg src=\"/extra/logos/scailable.png\" height=\"32\" /\u003e](https://scailable.net)　\n[\u003cimg src=\"/extra/logos/blynk.png\" height=\"32\" /\u003e](https://blynk.io)　\n[\u003cimg src=\"/extra/logos/iden3.svg\" height=\"32\" /\u003e](https://www.iden3.io)　\n[\u003cimg src=\"https://upload.wikimedia.org/wikipedia/commons/b/b0/NuttX_logo.png\" height=\"32\" /\u003e](https://github.com/apache/incubator-nuttx-apps/tree/master/interpreters/wasm3)　\n[\u003cimg src=\"/extra/logos/losant.png\" height=\"28\" /\u003e](https://github.com/Losant/eea-examples)　\n[\u003cimg src=\"https://user-images.githubusercontent.com/1506708/114701856-069ce700-9d2c-11eb-9b72-9ce2dfd9f0fb.png\" height=\"32\" /\u003e](https://github.com/kateinoigakukun/wasmic-ios)　\n[\u003cimg src=\"https://assets-global.website-files.com/636ab6ba0e1bd250e3aaedaf/636e155e93894cd4d030c4d7_balena_logo_dark.svg\" height=\"32\" /\u003e](https://github.com/balena-io-playground/balena-wasm3)　\n[\u003cimg src=\"https://krustlet.dev/images/horizontal.svg\" height=\"32\" /\u003e](https://github.com/deislabs/krustlet-wasm3)　\n[\u003cimg src=\"/extra/logos/shareup_app.svg\" height=\"24\" /\u003e](https://shareup.app/blog/introducing-shareup)　\n[\u003cimg src=\"https://wasm4.org/img/logo.png\" height=\"32\" /\u003e](https://wasm4.org)\n\n## Further Resources\n\n[Demos](./docs/Demos.md)  \n[Installation instructions](./docs/Installation.md)  \n[Cookbook](./docs/Cookbook.md)  \n[Troubleshooting](./docs/Troubleshooting.md)  \n[Build and Development instructions](./docs/Development.md)  \n[Supported Hardware](./docs/Hardware.md)  \n[Testing \u0026 Fuzzing](./docs/Testing.md)  \n[Performance](./docs/Performance.md)  \n[Interpreter Architecture](./docs/Interpreter.md)  \n[Logging](./docs/Diagnostics.md)  \n[Awesome WebAssembly Tools](https://github.com/vshymanskyy/awesome-wasm-tools/blob/main/README.md)\n\n### License\nThis project is released under The MIT License (MIT)\n\n\n[WasmProps]: https://github.com/WebAssembly/proposals/blob/main/README.md  \"WebAssembly Finished Proposals\"\n","funding_links":[],"categories":["C","Non-Web Embeddings","The List","Misc","底层相关","webassembly","Projects","Runtime","Libraries","\u003e 5K ⭐️","WASI-compatible Runtimes"],"sub_categories":["Wasm3","Runtimes","CNCF WASM Working Group","Others"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasm3%2Fwasm3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwasm3%2Fwasm3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasm3%2Fwasm3/lists"}