And how exactly is your jquery.wasm going to access the DOM? Or expose methods to your application, for that matter?
wasm is not a drop-in replacement for JS.
I just wondered though, from a birds eye view, does using wasm effectively give you control of everything within the "frame" of your browser?
Can I get rid of the DOM(boilerplate aside), get rid of CSS?
For example HTMLCanvasElement is a flat surface. I can do what I want within it as a scene graph renderer.
Could I do that with wasm? Could I invent my own 2D entities (x, y, width, height). My own 2D Constraints resize like Apple Devices etc?
It is not a "drop-in" replacement in any way, but I'm pretty sure it will eventually replace JS completely.
And how exactly is your jquery.wasm going to access the DOM? Or expose methods to your application, for that matter?
wasm is not a drop-in replacement for JS.