Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Topics Web & mobile

Frontend

Building browser UIs: frameworks, state, rendering, components.

Search within Frontend, or combine it with other topics →

Monday, Mar 6, 2023

Zed

Leveraging Rust and the GPU to render user interfaces at 120 FPS

Deep dive 16 min +160 XP

Zed's GPUI framework hits 120 FPS by rendering the editor UI like a video game: rather than a general-purpose 2D vector renderer (Pathfinder proved too slow), it uses dedicated GPU shaders for a small set of primitives such as rectangles, shadows, text, icons and images, all described as data on the CPU and drawn with instanced rendering.

The quest for software engineering knowledge.

Look:
Layout: