Hacker GitHub

← All repos

PetterS/clang-wasm

View on GitHub ↗ ★ 153 C++

How to build webassembly files with nothing other than standard Clang/llvm.

4 mentions on Hacker News by 2 people: 1 story, 3 comments · first 2019-03-20 · latest 2023-03-14

Mentions per year 4 mentions · busiest year 2019 (2)
20082026
  1. …on HN. [1] https://github.com/ern0/howto-wasm-minimal [2] https://github.com/robrohan/wefx [3] https://github.com/PetterS/clang-wasm
  2. 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. It's fun to write your own malloc! :-)
  3. ▲ 7
    Show HN: Webassembly with only clang/LLVM 8
    story by petters · 2019-03-20 · 3 comments
  4. No, it is not needed any more. I have a demo here: https://github.com/PetterS/clang-wasm But be prepared to work without libc if you don't use emscripten. Writing a malloc is fun though!
    comment by petters · 2019-03-20 · in LLVM 8.0.0 Release