wasm4
fundude
Our great sponsors
wasm4 | fundude | |
---|---|---|
10 | 1 | |
1,052 | 169 | |
- | - | |
8.3 | 1.8 | |
5 days ago | over 2 years ago | |
TypeScript | Zig | |
ISC 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.
wasm4
-
WASM Instructions
Related:
A fast Pascal (Delphi) WebAssembly interpreter:
https://github.com/marat1961/wasm
WASM-4:
https://github.com/aduros/wasm4
Curated list of awesome things regarding WebAssembly (wasm) ecosystem:
https://github.com/mbasso/awesome-wasm
Also, it would be nice if there was a WASM (soft) CPU for QEMU, which (if it existed!) would go here:
-
Zig & Emscripten?
WASM4 seems to be a fantasy console with good docs that can run zig code in the browser, using the wasm target: https://github.com/aduros/wasm4/blob/main/cli/assets/templates/zig/build.zig
-
WASM-4 is a virtual game console for building retro games in Rust and other WebAssembly languages
By the way, the memory corruption issue was also recently reported in Go (which uses similar linker flags to Rust) https://github.com/aduros/wasm4/issues/33
I've noticed this too sometimes. I think what is happening is Rust's stack is growing downwards from 0x19a0 instead of upwards, which ends up clobbering the end of the framebuffer. If so it's likely the wasm linker flags need to be changed: https://github.com/aduros/wasm4/blob/main/cli/assets/templates/rust/.cargo/config.toml
That should definitely be a u32. Would you be interested in opening a PR for https://github.com/aduros/wasm4/blob/main/cli/assets/templates/rust/src/wasm4.rs? Feel free to make other changes too :)
fundude
-
Zig & Emscripten?
I can't tell if this code actually works or not, but it also might be an example of getting zig code running in the browser as wasm: https://github.com/fengb/fundude
What are some alternatives?
quadplay - The quadplay✜ fantasy console
wasmtime-go - Go WebAssembly runtime powered by Wasmtime
javascriptmusic - A.K.A. WebAssembly Music. Live coding music and synthesis in Javascript / AssemblyScript (WebAssembly)
PixelVision8 - Pixel Vision 8's core philosophy is to teach retro game development with streamlined workflows. PV8 is also a platform that standardizes 8-bit fantasy console limitations built on top of the open-source C# game engine based on MonoGame.
BootstrapBlazor - A set of enterprise-class UI components based on Bootstrap and Blazor
Octo - A Chip8 IDE
pdx-tools - View maps, graphs, and tables of your save and compete in a casual, evergreen leaderboard of EU4 achievement speed runs. Upload and share your save with the world.
loda-rust - Web editor for the LODA language. Also includes my experiments with Abstraction and Reasoning Corpus ARC.
textyle - Web tilemap editor for 2D games built using React JS, WebGL and Rust (WASM).
fantasy - A curated list of available fantasy consoles/computers.
zig-v8 - Simple V8 builds with C and Zig bindings.
asdom - Use DOM APIs in AssemblyScript