Very cool. I wonder if once WebAssembly matures will browser let it interact with the DOM directly instead of through a JS API.
Yes, that’s in the works as one of the most desired feature, it’s called the “host bindings proposal.”
Thank you for the name. I hadn’t ever heard anyone ever give the specific proposal name before. It’s much appreciated.
No problem! One related bit of info: originally, it was thought that GC support would have to come first, but with host bindings, GC isn’t necessary. So that upped the possible timeline quite a bit!
See also wasm-bindgen. Should ve mentioned in the blog post.
Is it just me, or does the interactive demo they posted look very similar to VS Code?
That’s because both are built with https://github.com/Microsoft/monaco-editor