w2c2
wasm2lua
Our great sponsors
w2c2 | wasm2lua | |
---|---|---|
9 | 1 | |
668 | 177 | |
- | - | |
8.6 | 3.8 | |
16 days ago | over 2 years ago | |
C | WebAssembly | |
MIT License | MIT License |
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.
w2c2
-
Build your own WebAssembly Compiler
For AOT, the simplest approach, that actually produces the fastest native code, is to naively translate WASM opcodes to C.
This is for example what W2C2 does: https://github.com/turbolent/w2c2
-
Show HN: RustPython for FreeDOS with W2c2
This uses [w2c2](https://github.com/turbolent/w2c2) to convert RustPython,
- DeviceScript: TypeScript for Tiny IoT Devices
-
Running Rust code on Plan 9 using webassembly
Using a modified version of the w2c2 wasm->C89 translator, I was able to run Rust code on 9front!
-
Rust on macOS 9
There's not much data in the performance section of the front-page readme of the repo, but the one bullet point there seems promising:
> Coremark 1.0: ~7% slower than native [0]
[0] https://github.com/turbolent/w2c2#performance
- W2c2: Translates WebAssembly Modules to C
- W2c2: Translate WebAssembly Modules to C
- I'm not sure what this is, but I'm sure I want to find out. WASM2C.. Is it for me...
wasm2lua
-
[ComputerCraft] Is it possible to run Doom on CC?
You could try converting WASM to Lua using something like wasm2lua but a lot of work would still be required to get the display/sound/input working inside CC.
What are some alternatives?
raw-wasm - Raw WebAssembly demos
assemblyscript - A TypeScript-like language for WebAssembly.
react-native-webassembly - ⚛️ 🏎 WebAssembly for React Native powered by JSI.
wazero - wazero: the zero dependency WebAssembly runtime for Go developers
RustPython - A Python Interpreter written in Rust
Wasynth - WebAssembly to Lua translation library and tool
jerryscript - Ultra-lightweight JavaScript engine for the Internet of Things.
VectorVisor - VectorVisor is a vectorizing binary translator for GPUs, designed to make it easy to run many copies of a single-threaded WebAssembly program in parallel using GPUs
hermit - Actually Portable WebAssembly compiler toolchain for self-contained cross-platform binaries
wasker - Wasm compiler for running Wasm on your favorite kernel