Re:Leveraging Rust and the GPU to render user interfaces at ...
by nottorp on Thursday March 09, 2023 @09:26AM
(#35081473)
Yeah, might want to edit the title a bit. Or not, considering these concepts are getting lost.
I mean, the win16 api from ages ago had support for invalidating specific screen regions etc. It probably got lost somewhere in the transition to javascript...
Zed and GPUI use energy very judiciously and only perform updates when needed. The idea is that we can render the whole application within ~8ms, and that shows everywhere: from typing a letter to scrolling up and down in a buffer. However, if the editor is sitting there idle, we won't waste precious CPU cycles.
Thanks for the feedback!