pywasm3
wac
Our great sponsors
pywasm3 | wac | |
---|---|---|
3 | 1 | |
71 | 465 | |
- | - | |
3.7 | 0.0 | |
4 months ago | over 2 years ago | |
C | C | |
MIT License | GNU General Public License v3.0 or later |
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
wac
-
Actually Portable Executable – Lua
Depends on what you mean by “using”. It is conceivably possible to compile a webassembly interpreter like wac[1] with cosmopolitan, which would then run on all OSes and bare metal, yes.
[1]: https://github.com/kanaka/wac
What are some alternatives?
wasm-git - GIT for nodejs and the browser using https://libgit2.org compiled to WebAssembly with https://emscripten.org
luastatic - Build a standalone executable from a Lua program.
wasmtime-py - Python WebAssembly runtime powered by Wasmtime
liblinux - Linux system calls.
wasm3 - 🚀 A fast WebAssembly interpreter and the most universal WASM runtime
monocypher-wasm - WebAssembly port and JS wrapper library for Monocypher (https://monocypher.org)
binjgb - Gameboy emulator implemented in C, that also runs in the browser
kilo - A text editor in less than 1000 LOC with syntax highlight and search.
pywasm - A WebAssembly interpreter written in pure Python
dark - C practice - basic roguelike in SDL2 that compiles both for desktop and Emscripten
raylib - A simple and easy-to-use library to enjoy videogames programming