|
|
|
|
|
by shevy-java
195 days ago
|
|
WASM seems to be rather poorly documented in general. I used to
think it is only badly documented in Ruby (which it is), but I
have been slowly reading "WebAssembly The Definitive Guide" and
when comparing this to information on the internet, it seems
WebAssembly is years behind e. g. HTML, CSS, or JavaScript in
regards to documentation. Granted, it is not the same user base
(more people will be interested in HTML and CSS simply because
there is a bigger pool of people interested in that, rather than
in WebAssembly), but still - documentation appears to become
really worse in general on the internet. Finding it too. So in this regard, having more implementations may be useful (more opportunity to improve documentation) - thus while I am in general skeptical, this is good news here, even if I do not use Go myself. |
|
It becomes a huge pain in the bum as soon as you have to deal with moving anything more than trivial types around, because you have to manually allocate memory for the WASM runtime and move bytes around. The byte representation needs to be understandable by the source language for your WASM code (the v language in my case). This is why these WASM runtimes use ints in their README examples, it would look and be horrendously complex otherwise.
If one is looking to use WASM for something for plugin development in the backend, I would try and look for something that is not WASM generic, but works with the source language, and where the WASM aspect is an under-the-hood detail.