pywasm3
wasm.el

pywasm3 | wasm.el | |
---|---|---|
3 | 1 | |
83 | 17 | |
- | - | |
1.3 | 3.0 | |
6 months ago | over 1 year ago | |
C | C | |
MIT License | 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.
pywasm3
-
New package: wasm.el
It's an embedding of the wasm3 library, and it exposes a function, `wasm-test`, that can call a function without arguments from a simple WebAssembly module. I intend to update it to reach feature parity with, for example, the python embedding.
-
WebAssembly: Adding Python Support to WASM Language Runtimes
PyOdide isn't currently supported outside of browsers, though that might change.
Either way, I couldn't figure out how to do the above sequence of steps with any of the available Python WASM runtimes - they're all very under-documented at the moment, sadly. I tried all three of these:
- https://github.com/wasmerio/wasmer-python
- https://github.com/bytecodealliance/wasmtime-py
- https://github.com/wasm3/pywasm3
-
Interpret Rust with Python
You might look at https://github.com/wasm3/pywasm3 . If nothing else, it’d presumably speed up your interpreter to have bindings to an established C based runtime rather than re implementing the runtime in python
wasm.el
What are some alternatives?
wasm-git - GIT for nodejs and the browser using https://libgit2.org compiled to WebAssembly with https://emscripten.org
wasmtime-py - Python WebAssembly runtime powered by Wasmtime
python-wasi - Utilities for building CPython for the WASI platform
binjgb - Gameboy emulator implemented in C, that also runs in the browser
pywasm - A WebAssembly interpreter written in pure Python
python-sandbox-wasm
wasm-micro-runtime - WebAssembly Micro Runtime (WAMR)
raylib - A simple and easy-to-use library to enjoy videogames programming
nsjail - A lightweight process isolation tool that utilizes Linux namespaces, cgroups, rlimits and seccomp-bpf syscall filters, leveraging the Kafel BPF language for enhanced security.
wasm3 - 🚀 A fast WebAssembly interpreter and the most universal WASM runtime
wac - WebAssembly interpreter in C
