What is Webassembly?
Part 1: Literature Review
It's a bit weird that right now, typing 'learn webassembly' into Google brings back a top hit for this Medium post which doesn't really explain anything that you can't find on the main web assembly page. It includes 5 steps, of which number 4 is 'learn C or C++' and number 5 is 'learn webassembly', which he assures us "is no trivial task". Hmmm. Thanks Mike.
As of right now, the article only has 137 'claps' which must mean I'm way ahead of the curve in deciding to learn this stuff 😊
Mike does provide us with this: https://github.com/mikerourke/webassembly-boilerplate
Duckduckgo gives us this: https://auth0.com/blog/7-things-you-should-know-about-web-assembly/ which is two years old, so we'd better be wary of that, too.
This is a good introduction video: https://www.youtube.com/watch?time_continue=2&v=6v4E6oksar0
includes a history lesson
check out the demos towards the end = web dsp (live edge detection at ~60 frames/sec.
x | 0
Actual Assembly Codes
Game of Life
shows how to make a game-of-life engine and integrate it into JS - he's using a webpack to build it.
The faq: http://webassembly.org/docs/faq/ tell us that, initially at least, wasm is very focussed on C/C++
Direct bindings: https://github.com/mbasso/asm-dom
JSX-like syntax: https://github.com/mbasso/gccx
As usual, the Mozilla docs seem to be the best place to start:
web assembly openCV: https://hacks.mozilla.org/2017/09/bootcamps-webassembly-and-computer-vision/
- https://wasmdash.appspot.com/ - Upcoming Features of Webassembly
-covers integrating a HTML/css ui layer with a wasm compiled 'app'
WASM is a stack machine: https://en.wikipedia.org/wiki/Stack_machine