4 ms·
1. WebAssembly will support "View Source" [1]. 2. I have bad news for you. Open any web-site (e.g. "google.com") and try to view its source. Is minified JS rea
by anonx 11y ago
1. WebAssembly will support "View Source" [1].
2. I have bad news for you. Open any web-site (e.g. "google.com") and try to view its source. Is minified JS really that readable?
[1]: https://github.com/WebAssembly/design/blob/master/FAQ.md#will-webassembly-support-view-source-on-the-web https://github.com/WebAssembly/design/blob/master/FAQ.md#wil...
- frik 11y agoYou have no idea how hard Asm.js is to "read". Minified JS is okayish. But Asm.js has the ASM name in it for a reason, without proper tools it's even harder to read than any ASM. And WebAssembly is at the moment based on Asm.js in its current alpha state.
- anonx 11y agoWebAssembly is still work in progress, isn't it? There are proposals to have 2 text formats: low level one (Asm.js like) and more high level representation [1]. So, I'm dead sure the way out will be found. If not, community will create workaround-ish solutions in a form of "WASM -> language of your choice" decompilers. [1]: https://github.com/WebAssembly/design/pull/457 https://github.com/WebAssembly/design/pull/457
- mchahn 11y ago> You have no idea how hard Asm.js is to "read". That was not my experience when I ported a large C app over to asm/emscripten. The mapping from C was very transparent. I had no problem using the dev inspector to debug the code.