wasm-fizzbuzz
clang-wasm
wasm-fizzbuzz | clang-wasm | |
---|---|---|
6 | 2 | |
1,506 | 143 | |
- | - | |
0.0 | 0.0 | |
over 3 years ago | over 2 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.
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)
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.
What are some alternatives?
biowasm - WebAssembly modules for genomics
cib - clang running in browser (wasm)
wasi-libc - WASI libc implementation for WebAssembly
wajic - WebAssembly JavaScript Interface Creator
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++.
wefx - Basic WASM graphics package to draw to an HTML Canvas using C. In the style of the gfx library
interface-types
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.
EmGlue - 🕸️ Glue C++ to your browser! Universal bindings for JavaScript/Wasm using Glue and Embind.
chip8-book - An introduction to Chip-8 emulation using Rust
cheerp-meta - Cheerp - a C/C++ compiler for Web applications - compiles to WebAssembly and JavaScript