Damn, i really want this. On another note, is it even possible to manipulate the DOM directly from WebAssembly with no JavaScript glue code?
Seems like a pretty good opportunity for a new "modern" framework.
Go webassembly has a fair amount of glue to bridge over to js.Value's, but it's pretty formulaic and could probably be cranked out by a preparser / code generator (i.e. "go generate").