wasm-micro-runtime
q3vm
Our great sponsors
wasm-micro-runtime | q3vm | |
---|---|---|
16 | 7 | |
4,507 | 799 | |
3.2% | - | |
9.7 | 3.6 | |
1 day ago | 2 months ago | |
C | C | |
Apache License 2.0 | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
wasm-micro-runtime
-
Build your own WebAssembly Compiler
Here is what you are looking for: https://github.com/bytecodealliance/wasm-micro-runtime
-
Val, a high-level systems programming language
No longer does Wasm/WASI need JS host! There are many spec-compliant runtimes built for environments from tiny embedded systems up to beefy arm/x86 racks:
- https://github.com/bytecodealliance/wasm-micro-runtime
- https://github.com/bytecodealliance/wasmtime
- https://github.com/wasmerio/wasmer
- https://github.com/tetratelabs/wazero
- https://github.com/extism/extism (disclaimer, my company's project - makes wasm easily embeddable into 16+ programming languages!)
-
Blog Post: Reasonable Bootstrap
The WASM core 1.1 infrastructure is already available in a very strict defined more or less guarantied compatible form on nearly any final target. Even on very small devices for embedded computing (WAMR takes less then 85kB and supports even trusted computing etc.) and in contexts, where usually no other low level development tools are available (for example within the context of Webbrowsers, sandboxed execution etc.)
-
WASM vs Native Rust performance
WAMR and it's different AoT preprocessing and execution modes could be even more efficient. ;)
- adding multiple optional scripting languages
-
Wasm-bpf: Build and run eBPF programs in WebAssembly
Wasm-bpf is a WebAssembly eBPF library, toolchain and runtime powered by CO-RE(Compile Once – Run Everywhere) libbpf and WAMR. It can help you build almost every eBPF programs or use cases to Wasm.
-
Ruby Adds Support for WebAssembly: What is WebAssembly and how it benefits Ruby devs?
Running a Wasm application outside the browser requires an appropriate runtime that implements the WebAssembly VM and provides interfaces to the underlying system. There are a few competing solutions in this field, the most popular being wasmtime, wasmer, and WAMR.
- WebAssembly Micro Runtime (WAMR)
-
Learning Embedded rust
A very interesting solution for high level interface access by less professional developers could be seen in pikascript, which works even on very small devices. WAMR is another project with similar capabilities. Both of them can be very well combined with core infrastructure realized as embedded rust code.
-
Wasmtime 1.0
Seems the micro runtime also released 1.0:
https://github.com/bytecodealliance/wasm-micro-runtime
But why does it not have binaries compiled and ready?
q3vm
-
QCVM - QuakeC Virtual Machine written in C89
I am a big fan of Q3VM and have even used it in a couple of projects.
-
QCVM: Bite-sized QuakeC VM written in C
But it returned in Quake 3 the n?
https://github.com/jnz/q3vm
- Buying a permissive license for a Copyleft project
-
SHOULD A BEGINNER ATTEMPT A VIRTUAL MACHINE PROJECT?
You might want to check out Q3VM (A stripped down virtual machine from Quake III).
- Is it possible to dynamically execute C code from C++?
- Is there a Plan9 port for TCC?
-
Where can I find the source code of C language itself?
Finally, the compiler itself is the easy part, emitting x86/x86_64 instructions is where it starts to get very complex. For this reason, I really recommend Q3VM (https://github.com/jnz/q3vm). It is a single file VM (originally written for Quake III) which interprets fantasy but greatly simplified instructions from a slightly modified LCC compiler (also part of the project). This might be very useful to learn from.
What are some alternatives?
wasm3 - 🚀 A fast WebAssembly interpreter and the most universal WASM runtime
Wren - The Wren Programming Language. Wren is a small, fast, class-based concurrent scripting language.
zephyr - Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
pocketlang - A lightweight, fast embeddable scripting language.
crun - A fast and lightweight fully featured OCI runtime and C library for running containers
lcc - The lcc retargetable ANSI C compiler
raylib - A simple and easy-to-use library to enjoy videogames programming
Senegal - Senegal programming language
WASI - WebAssembly System Interface
QCVM - Bite-sized QuakeC VM written in C
awesome-wasm-runtimes - A list of webassemby runtimes
janet - A dynamic language and bytecode vm