Re:Wasm vs. PNaCl Performance Benchmark
by snek on Sunday August 25, 2019 @11:31PM
(#20797266)
On the note of webassembly's text format (WAT), it's a fantastic introduction into a low level assembly. Wasm is a virtual stack machine, and it's strongly statically typed, so WAT is surprisingly readable. That being said, if the WAT you're reading wasn't hand-written, it's probably going to be unreadable anyway.
Re:Wasm vs. PNaCl Performance Benchmark
by erk__ on Monday August 26, 2019 @05:38AM
(#20798456)
The livestreaming site twitch.tv uses wasm for their player, so you download a fifty something blob which is not too open I feel. I tried to have a look at it in wat and it was sadly pretty hard to figure out what was going on.
Here's an example of some mutex operations in WAT: https://gist.github.com/devsnek/9274f1420b7641d1b6c34141921f...