4 ms·
Is there a resource to learn WebAssembly? I don't mean how to use a tool chain to compile higher level languages to WASM. I mean how to write the linear assemb
by TekMol 9y ago
Is there a resource to learn WebAssembly?
I don't mean how to use a tool chain to compile higher level languages to WASM. I mean how to write the linear assembly bytecode as seen here on Wikipedia:
https://en.wikipedia.org/wiki/WebAssembly#Representation https://en.wikipedia.org/wiki/WebAssembly#Representation
- steveklabnik 9y agoI went straight to the spec personally; it’s quite readable and shorter than I expected.
- pjmlp 9y agoNo linear, but these ones are quite good for the Lisp-like syntax, which I prefer. https://mbebenita.github.io/WasmExplorer/ https://mbebenita.github.io/WasmExplorer/ https://wasdk.github.io/WasmFiddle/ https://wasdk.github.io/WasmFiddle/
- TekMol 9y agoI think these won't let you write WASM. Am I wrong?
- singularity2001 9y agoyou are right I asked them about adding the option to compile WASM or WAST (instead of c), but the answer was that 'there are no use cases'. of cause 'learning' would be just one.
- pjmlp 9y agoSorry I did not read it properly, you can use these ones instead to actually write WASM. https://github.com/WebAssembly/wabt https://github.com/WebAssembly/wabt https://github.com/cretz/asmble https://github.com/cretz/asmble