News for hackers. Stuff that matters.
Re:Hello WebAssembly by BinaryIdiot on Thursday August 10, 2017 @06:22AM (#14978235)
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).

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.
Re:Hello WebAssembly by D_Guidi on Thursday August 10, 2017 @07:52AM (#14978726)
There (was?) a framework that does exactly this, I don't remember the name...
Re:Hello WebAssembly by markdog12 on Thursday August 10, 2017 @08:02AM (#14978781)
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
Re:Hello WebAssembly by D_Guidi on Friday August 11, 2017 @03:37AM (#14987411)
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.

Re:Hello WebAssembly by Touche on Thursday August 10, 2017 @08:20AM (#14978881)
A pretty bad idea though.
Re:Hello WebAssembly by bigato on Thursday August 10, 2017 @07:41AM (#14978670)
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.