Re:Hello WebAssembly
by jimmaswell on Thursday August 10, 2017 @07:39AM
(#14978651)
You can also draw your own UI entirely in a canvas and only use the minimum HTML/CSS to set that up.
There (was?) a framework that does exactly this, I don't remember the name...
Tough to know exactly what you mean, but there are some UI frameworks running in WebAssembly here: http://floooh.github.io/oryol-samples/index.html
Something like http://www.zebkit.com
Re:Hello WebAssembly
by FragenAntworten on Thursday August 10, 2017 @08:58AM
(#14979139)
React Canvas is the one I'm aware of. https://github.com/Flipboard/react-canvas
Re:Hello WebAssembly
by TazeTSchnitzel on Thursday August 10, 2017 @08:46AM
(#14979033)
There's not just one.
You can run Qt apps in the browser, for instance.
A pretty bad idea though.
Or you could just sidestep the DOM completely and render something else without JS/HTML/CSS
Re:Hello WebAssembly
by BinaryIdiot on Friday August 11, 2017 @02:45PM
(#14992945)
Now 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.
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).