4 ms·
> I think you misunderstand what WebAssembly is about. I don't, WebAssembly is about C++, primarily. Every design decision has been to support C++. Everything
by Touche 11y ago
> I think you misunderstand what WebAssembly is about.
I don't, WebAssembly is about C++, primarily. Every design decision has been to support C++. Everything else is an afterthought that will come later. WebAssembly isn't about minifying your JS.
Read this: https://github.com/WebAssembly/design/blob/master/GC.md https://github.com/WebAssembly/design/blob/master/GC.md GC, DOM access, etc. don't exist in WebAssembly code, yet.
- bpicolo 11y agoIt's C++ first as a convenience, since LLVM is best at C++ and emscripten w/asm is a solid benchmark. It is NOT primarily about C++ just because that's the v1. https://github.com/WebAssembly/design/blob/master/FAQ.md#which-compilers-can-i-use-to-build-webassembly-programs https://github.com/WebAssembly/design/blob/master/FAQ.md#whi...
- ZenoArrow 11y agoIt's not about C++ primarily, it's about building on the base which asm.js laid out. C++ would only feature in this because of Emscripten.