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.
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.