News for hackers. Stuff that matters.
Re:Blitz: A lightweight, modular, extensible web renderer by kevincox on Monday August 12, 2024 @07:27AM (#41223284)
That sounds awful. Some of my favourite thing about the web are the semantics. This like links that have common shortcuts across all sites (like open in new tab) and a rich contect menu (send to another device, archive at archive.org). I have extensions to translate text to find URL anchors in documents.

If the web primatives where WebHID + WebGPU every site would lack any of these.

Of course this would come from the Flutter people who don't seem to care about this. Flutter on web is completely unusable and often Android and desktop versions are barely tolerable.

Re:Blitz: A lightweight, modular, extensible web renderer by satvikpendem on Monday August 12, 2024 @10:59AM (#41225188)
There's no reason extensions can't be made for it as well, HTML and CSS in the browser is just rendered via Skia anyway, so it's not much different to keep the renderer but change out the underlying languages. This is in fact exactly what Flutter does.
Re:Blitz: A lightweight, modular, extensible web renderer by mirkodrummer on Tuesday August 13, 2024 @03:45AM (#41233238)
How do you read text out of a bunch of pixels rendered on a canvas? Yes the dom is eventually rendered by Skia but still exposes an api for querying the underlying structure
Re:Blitz: A lightweight, modular, extensible web renderer by satvikpendem on Tuesday August 13, 2024 @08:33AM (#41234824)
Flutter also exposes the semantics tree via the DOM so you can actually still target elements, but yeah if you want to target the WebGPU elements, there needs to be a new API for that, which I believe there will be in the future because a lot of WebGPU renderer are coming out, in Dart, Rust, C#, etc.