3 ms·
wrong, there is no complexity clang --target=wasm32 That's it, you target WASM People somewhere decided that it was too easy and went ahead to bloat ever
by Kukumber 4y ago
wrong, there is no complexity
clang --target=wasm32
That's it, you target WASM
People somewhere decided that it was too easy and went ahead to bloat everything with Emscripten, WASI and the like
Here is all you need to know to target WASM: https://schellcode.github.io/webassembly-without-emscripten https://schellcode.github.io/webassembly-without-emscripten
The only target for WASM is the browser, everything else is just bloat and a waste of energy
- paulgb 4y agoWASI and Emscripten exist because people want to write code that interacts with the outside world. Your approach is fine if you just want to call into some math functions and are ok writing your own bindings, but that’s not how most people use wasm.