4 ms·
> Decompile to what? > `wasm-decompile` produces output that tries to look like a "very average programming language" while still staying close to the Wasm it
by dlojudice 6y ago
> Decompile to what?
> `wasm-decompile` produces output that tries to look like a "very average programming language" while still staying close to the Wasm it represents.
> #1 goal is readability
> #2 goal is to still represent Wasm as 1:1 as possible
It seems AssemblyScript would do the job
[1] https://assemblyscript.org/ https://assemblyscript.org/
- Aardappel 6y agoAssemblyScript would certainly do worse at #2, and possibly also at #1. To be translate to Wasm or from Wasm lead to different optimal designs, see for example how these two systems deal with loads and stores.