wasm-fizzbuzz
chip8-book
wasm-fizzbuzz | chip8-book | |
---|---|---|
6 | 5 | |
1,506 | 203 | |
- | - | |
0.0 | 3.9 | |
over 3 years ago | over 1 year ago | |
C++ | Rust | |
- | Creative Commons Zero v1.0 Universal |
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-fizzbuzz
-
Show HN: Compiling C in the browser using WebAssembly
The framebuffer idea is used in this wasm doom port: https://github.com/diekmann/wasm-fizzbuzz/tree/main/doom
WASIX already does all the other stuff you mentioned, including in the browser. The one thing it's missing is GUI, mainly because there's no standard GUI interface in POSIX.
-
Show HN: How to compile C/C++ for WASM, pure Clang, no libs, no framework
These are also good resources on using wasm without dependencies:
https://depth-first.com/articles/2019/10/16/compiling-c-to-w...
https://github.com/diekmann/wasm-fizzbuzz
-
DOOM Rendered via Checkboxes
Wow, the linked porting of DOOM to Wasm, https://github.com/diekmann/wasm-fizzbuzz/tree/main/doom, is really an excellent read as well.
- WebAssembly from Scratch: From FizzBuzz to Doom (2021)
-
Hacker News top posts: Jul 14, 2021
WebAssembly from Scratch: From FizzBuzz to Doom\ (15 comments)
chip8-book
-
Could you suggest an open or a public domain platform that is suitable for publishing a book on emulation?
Not to discourage you, but there's already a CHIP-8 book in progress: https://github.com/aquova/chip8-book
-
feboy (DMG GB emulator) now has full audio support! Special thanks to /u/KingWallmo for working on it the last couple months. Suggestions on what feature to add next?
WASM support would be so cool. There are lots of guides online which could help you out. I saw a guide for the chip8 and it didn't even look too difficult, you can check it out here https://github.com/aquova/chip8-book
-
[Rust] Getting into low level programming. How and why does this pattern matching work?
Recently I've decided to learn low level programming with Rust. I asked for some projects to practice and got recommened to make a Chip8 emulator. That sounded fun so I searched a bit and found this guide that walks you step by step.
-
Show HN: How to compile C/C++ for WASM, pure Clang, no libs, no framework
I made some emulators in Rust as a learning project during the start of the pandemic, and ran into the exact same issue when I wanted to make a wasm version to run in a browser. Eventually, I was able to figure out how to do it, although I do use the 'wasm-pack' Cargo package to assist with it (I think you can get away without it if you're really motivated, you just need to set up the targets and other elements yourself). Basically you define some Rust API to expose whatever you need from your project, then that and the project get compiled into one .wasm binary and some (surprisingly readable) JavaScript "glue" gets generated which allows for easy inclusion into a web page. It works well for code in the std, but I've had issues with 3rd party packages.
It's focused on emulation development, but I wrote a document that describes the process I followed: https://github.com/aquova/chip8-book/blob/master/src/wasm.md
-
Advanced programming exercises/apps recommendations to code
I followed [this](https://github.com/aquova/chip8-book) book which uses Rust.
What are some alternatives?
biowasm - WebAssembly modules for genomics
three-layer - :three: :cake: Architecture of the Haskell web applications
wasi-libc - WASI libc implementation for WebAssembly
cib - clang running in browser (wasm)
AECforWebAssembly - A port of ArithmeticExpressionCompiler from x86 to WebAssembly, so that the programs written in the language can run in a browser. The compiler has been rewritten from JavaScript into C++.
Essentials-of-Compilation - A book about compiling Racket and Python to x86-64 assembly
interface-types
wefx - Basic WASM graphics package to draw to an HTML Canvas using C. In the style of the gfx library
clang-wasm - How to build webassembly files with nothing other than standard Clang/llvm.
riscv-rust - RISC-V processor emulator written in Rust+WASM
EmGlue - 🕸️ Glue C++ to your browser! Universal bindings for JavaScript/Wasm using Glue and Embind.
chip8-test-suite - A collection of ROM images with tests that will aid you in developing your own CHIP-8, SUPER-CHIP or XO-CHIP interpreter (or "emulator")