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. (by binji)
clang-wasm
How to build webassembly files with nothing other than standard Clang/llvm. (by PetterS)
llvm-project | clang-wasm | |
---|---|---|
1 | 2 | |
25 | 147 | |
- | 0.0% | |
10.0 | 0.0 | |
almost 5 years ago | over 2 years ago | |
C++ | C++ | |
- | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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
Posts with mentions or reviews of llvm-project.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-11.
-
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.
clang-wasm
Posts with mentions or reviews of clang-wasm.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-14.
-
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?
When comparing llvm-project and clang-wasm you can also consider the following projects:
wasm-fizzbuzz - WebAssembly from Scratch: From FizzBuzz to DooM.
chip8-book - An introduction to Chip-8 emulation using Rust
cib - clang running in browser (wasm)
wajic - WebAssembly JavaScript Interface Creator