Hacker GitHub

← All repos

ern0/howto-wasm-minimal

View on GitHub ↗ ★ 534 C++

How to create minimal wasm module with plain C/C++

4 mentions on Hacker News by 4 people: 1 story, 3 comments · first 2022-04-09 · latest 2023-03-14

Mentions per year 4 mentions · busiest year 2022 (3)
20082026
  1. …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
  2. For future readers, this is the code that is being referred: https://github.com/ern0/howto-wasm-minimal/blob/master/inc.c... It should be: uint32_t gray = 0.299 * ptr[i] + 0.587 * ptr[i+1] + 0.114 * ptr[i+2]; ptr[i] = gray; ptr[i+1] =…
  3. This uses a strange "link broker", the link behind this is pointing to https://github.com/ern0/howto-wasm-minimal
    comment by johndoe0815 · 2022-04-09