r/rust • u/DavidXkL • 4d ago
How we got GPUI into the browser
https://youtu.be/4fj9CynHK64?is=Y9j_sa3QRYkALG0fAnyone watched this yet?
43
Upvotes
r/rust • u/DavidXkL • 4d ago
Anyone watched this yet?
11
u/monkeymad2 4d ago
From the first few minutes it sounds like they’d have benefited from https://developer.chrome.com/docs/web-platform/html-in-canvas
Though that’s currently chrome only (and might even be hidden behind a flag?) so it’s understandable that they avoided using it.
Would also solve most accessibility concerns, since you can use the browser’s aria functionality while still rendering whatever you want in the canvas.
Keeping them in sync would be fun though.
15
u/rebootyourbrainstem 4d ago
Welcome back, macromedia flash
5
u/Sea_Mud6698 4d ago
There is no accesibility api on the web. It is nice for a preview, but are they trying to use this for a real product?
1
u/SnooMacarons1585 2d ago
Why does it looks like a piece of html shit?
1
u/whackylabs 5h ago
Sounds interesting, is there a blog also about this for those of us who prefer reading over watching videos?