9 ms·
Shouldn't it be possible to decompile from wasm to the language that was used to compile to it (or any target language that could've produced said wasm)?
by seangrogg 9y ago
Shouldn't it be possible to decompile from wasm to the language that was used to compile to it (or any target language that could've produced said wasm)?
- Crespyl 9y agoOnly to roughly the same degree that it's possible to decompile x86/64 binaries to C or C++. It depends heavily on the specific optimizations and obfuscations used, whether or not debugging information was left in, etc. There's a reason the GPL has a "preferred form for editing" clause.
- manigandham 9y agoIt's better than that: http://webassembly.org/docs/faq/#will-webassembly-support-view-source-on-the-web http://webassembly.org/docs/faq/#will-webassembly-support-vi...
- qweqweqweqw 9y agoYeah, but is that actually required? I don't know much about this, but I'd guess 90% of websites will strip this just like debug info in most proprietary software, 9% don't know about this or forget to remove it, if it's included by default and 1% consciously decides to ship it for transparency.
- manigandham 9y agoThen it's no different than minimized javascript...