News for hackers. Stuff that matters.
Re:Emerging Rust GUI libraries in a WASM world by IX-103 on Thursday April 27, 2023 @05:57PM (#35735110)
The reason to pick up a "a full 3D rendering library" is that it is actually a lower level interface to the hardware. Almost all 2D operations are now implemented on top of 3D hardware primitives.

By limiting yourself to a 2D engine you're ensuring there are more layers of abstraction between you and the hardware. While # layers of abstraction doesn't always correlate with overhead, it does place limits on performance.

Re:Emerging Rust GUI libraries in a WASM world by josephg on Thursday April 27, 2023 @06:38PM (#35735407)
Yeah. And it’s not one or the other. On the web you can make a “3d” rendering surface for the profile traces and use absolutely positioned DOM elements rendered on top for you hover-over widgets and things.

It’s still a bit of a mess though. I understand wanting to keep everything in a single UI library if you can.