3 ms·
It's too soon to worry about. Currently you still need to keep your UI in JavaScript / HTML / CSS so Web Assembly isn't going to be replacing that to deliver "f
by BinaryIdiot 9y ago
It's too soon to worry about. Currently you still need to keep your UI in JavaScript / HTML / CSS so Web Assembly isn't going to be replacing that to deliver "fat apps" just yet.
Regardless, when there does come a time that WASM has full DOM access you'll just be replacing a ton of JavaScript and other code with WASM bytecode. Today you can already transpile many languages to JavaScript and some frameworks even allow you to never even touch JavaScript and still create web applications. I don't see this being much different with the exception that you'll no longer be required to used or transpile to JavaScript and this could end up faster (that's a big COULD and will probably depending on what you're doing and how).
- jimmaswell 9y agoYou can also draw your own UI entirely in a canvas and only use the minimum HTML/CSS to set that up.
- D_Guidi 9y agoThere (was?) a framework that does exactly this, I don't remember the name...
- markdog12 9y agoTough to know exactly what you mean, but there are some UI frameworks running in WebAssembly here: http://floooh.github.io/oryol-samples/index.html http://floooh.github.io/oryol-samples/index.html
- D_Guidi 9y agoSomething like http://www.zebkit.com http://www.zebkit.com
- deleted 9y ago[deleted]
- TazeTSchnitzel 9y agoThere's not just one. You can run Qt apps in the browser, for instance.
- FragenAntworten 9y agoReact Canvas is the one I'm aware of. https://github.com/Flipboard/react-canvas https://github.com/Flipboard/react-canvas
- D_Guidi 9y agoThere (was?) a framework that does exactly this, I don't remember the name...
- Touche 9y agoA pretty bad idea though.
- deleted 9y ago[deleted]
- bigato 9y agoOr you could just sidestep the DOM completely and render something else without JS/HTML/CSS
- BinaryIdiot 9y agoNow THIS is what I'm interested in. The HTML / CSS / JS triple threat has existed for, what, two decades at this point? So many other techniques have emerged for rendering GUIs and I would really love to see more exploration into this, even if it circled back to HTML / CSS / JS being the better bet I'd still highly value the experimentation.