At the moment, wasm code is displayed in its .wat format, which is best.
However: having the option to look at the binary format might be interesting.
Especially for newcomers coming from JS, to understand how wasm has different formats suited for different purposes.
It's probably something a user would do just once or twice.
I think of this feature as conceptually similar to:
opening a minified file: no one will work directly on it, but it's helpful to have seen one to be able to recognize it later on.
clicking the "un-prettify" button in browsers dev tools: code is less readable, but it's still useful to understand that what is displayed is a formatted version, distinct from the original.
At the moment, wasm code is displayed in its
.wat
format, which is best.However: having the option to look at the binary format might be interesting.
Especially for newcomers coming from JS, to understand how wasm has different formats suited for different purposes.
It's probably something a user would do just once or twice.
I think of this feature as conceptually similar to:
I would like to work on that, any thoughts?