3 ms·
If someone created a way for WASM to talk to an SDL equivalent, it'd probably end use of HTML & CSS
by sidewndr46 3y ago
If someone created a way for WASM to talk to an SDL equivalent, it'd probably end use of HTML & CSS
- yvdriess 3y agoAnd so closing the great circle of UI framework technologies.
- throwaway12245 3y agoWASM has support for SDL for a long time: https://www.jamesfmackenzie.com/2019/12/01/webassembly-graphics-with-sdl/ https://www.jamesfmackenzie.com/2019/12/01/webassembly-graph...
- tomsmeding 3y agoIf so, all people relying on (often limited even with html that contains text) accessibility features will have to sit in a corner and cry.
- t0astbread 3y agoIf tri-state logic becomes viable it's game over for binary!
- wg0 3y agoIF 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.
- slondr 3y agoThis 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.
- eternityforest 3y agoThat 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.