llvm-project
wasm-fizzbuzz

llvm-project | wasm-fizzbuzz | |
---|---|---|
1 | 6 | |
25 | 1,510 | |
- | - | |
10.0 | 0.0 | |
over 4 years ago | over 3 years ago | |
C++ | C++ | |
- | - |
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.
llvm-project
-
Show HN: How to compile C/C++ for WASM, pure Clang, no libs, no framework
This was a topic at CppCon'19 (seems like exactly the same use case as you are describing: teaching!). Take a look at https://www.youtube.com/watch?v=5N4b-rU-OAA. I think it relies on the LLVM fork, so not sure how well it'll work for you, quick web search points to: https://github.com/binji/llvm-project.
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)
What are some alternatives?
chip8-book - An introduction to Chip-8 emulation using Rust
biowasm - WebAssembly modules for genomics
clang-wasm - How to build webassembly files with nothing other than standard Clang/llvm.
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++.
cib - clang running in browser (wasm)
wasi-libc - WASI libc implementation for WebAssembly
matrix-algebra - Some simple Matrix Algebra in WebAssembly
AlvaAR - World tracking for WebAR. A Javascript library for Augmented Reality to run SLAM in the browser.
wefx - Basic WASM graphics package to draw to an HTML Canvas using C. In the style of the gfx library
interface-types
howto-wasm-minimal - How to create minimal wasm module with plain C/C++
