clang-wasm
chip8-book
clang-wasm | chip8-book | |
---|---|---|
2 | 5 | |
147 | 203 | |
2.7% | - | |
0.0 | 3.9 | |
over 2 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.
clang-wasm
-
Cheerp 3.0: The most advanced C++ compiler for the Web now permissively licensed
I'm particularly curious on what parts cheerp adds to their clang+llvm base. Presumably it's something like the C standard target library for WASM/JS?
For reference, here's examples of what you could do with the baseline clang with wasm (but not JS?) [1] [2] [3], referenced from a similar thread on HN.
[1] https://github.com/ern0/howto-wasm-minimal
[2] https://github.com/robrohan/wefx
[3] https://github.com/PetterS/clang-wasm
-
Show HN: How to compile C/C++ for WASM, pure Clang, no libs, no framework
See also my example I put together some time ago: https://github.com/PetterS/clang-wasm
At the time, I could not find something like this online.
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?
wasm-fizzbuzz - WebAssembly from Scratch: From FizzBuzz to DooM.
three-layer - :three: :cake: Architecture of the Haskell web applications
wajic - WebAssembly JavaScript Interface Creator
cheerp-meta - Cheerp - a C/C++ compiler for Web applications - compiles to WebAssembly and JavaScript
riscv-rust - RISC-V processor emulator written in Rust+WASM
llvm-project - This is the canonical git mirror of the LLVM subversion repository. The repository does not accept github pull requests at this moment. Please submit your patches at http://reviews.llvm.org.
wefx - Basic WASM graphics package to draw to an HTML Canvas using C. In the style of the gfx library
cib - clang running in browser (wasm)
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")
Essentials-of-Compilation - A book about compiling Racket and Python to x86-64 assembly