News for hackers. Stuff that matters.
Re:Downfall Attacks by sidewndr46 on Tuesday August 08, 2023 @02:59PM (#37053861)
If someone created a way for WASM to talk to an SDL equivalent, it'd probably end use of HTML & CSS
Re:Downfall Attacks by tomsmeding on Tuesday August 08, 2023 @03:41PM (#37054454)
If so, all people relying on (often limited even with html that contains text) accessibility features will have to sit in a corner and cry.
Re:Downfall Attacks by wg0 on Tuesday August 08, 2023 @04:59PM (#37055373)
I think that should be addressable.
Re:Downfall Attacks by Terr_ on Tuesday August 08, 2023 @08:59PM (#37057489)
Why do I get the feeling some company will address the issue by offering them a comfy chair and a free box of tissues?
Re:Downfall Attacks by throwaway12245 on Tuesday August 08, 2023 @03:36PM (#37054376)
WASM has support for SDL for a long time: https://www.jamesfmackenzie.com/2019/12/01/webassembly-graph...
Re:Downfall Attacks by yvdriess on Tuesday August 08, 2023 @03:32PM (#37054320)
And so closing the great circle of UI framework technologies.
Re:Downfall Attacks by t0astbread on Tuesday August 08, 2023 @03:57PM (#37054641)
If tri-state logic becomes viable it's game over for binary!
Re:Downfall Attacks by wg0 on Tuesday August 08, 2023 @04:58PM (#37055362)
IF GTK/Qt etc can render to canvas using WebGPU while compiled to assembly, I think game is almost over than too IF there's a way to lazy load application modules.

Think Autodesk products. Certain parts (wasm modules) only load when you hover over a menu while overall app loads within milliseconds because it just has the main window and such.

Re:Downfall Attacks by slondr on Tuesday August 08, 2023 @10:21PM (#37058005)
This has been possible for years. I actually got in the habit of porting my qt projects to the web target because they ran better than native compiled on some of my older machines.
Re:Downfall Attacks by eternityforest on Tuesday August 08, 2023 @09:27PM (#37057695)
That sounds awful. People would be jamming entire 10MB toolkits into WASM to do things that HTML could do, and performance would probably suffer.

HTML is declarative. The machine understands it. I like things machines can understand and optimize. Things that you can write automated tools to work with because it's not a full turing machine. If you want to make a screen reader, you can. If you want to reflow for mobile in a better way, you can, because you know what's text and what's an image.

Just giving people a programming environment and the ability to draw some pixels, the browser has no idea what the intent is. There's nothing to optimize unless the individual sites do, and I doubt they have Google and Mozilla's budget.

We already have too many unnecessary powerful imperative systems out there.