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

DevFeed: [Leveraging Rust and the GPU to render user interfaces at 120 FPS](<https://devfeed.tech/articles/leveraging-rust-and-the-gpu-to-render-user-interfaces-at-120-fps-13563.md>)

Original publisher: [Read original article](<https://zed.dev/blog/videogame>)

Author: Antonio Scandurra

Published: 2023-03-07T00:00:00Z

Content type: article

Language: en

Sources: [Zed Industries - Blog](<https://devfeed.tech/sources/zed-industries-blog.md>)

Topics: [GPU](<https://devfeed.tech/topics/gpu.md>), [User Interfaces](<https://devfeed.tech/topics/user-interfaces.md>), [Framework](<https://devfeed.tech/topics/framework.md>), [Rust](<https://devfeed.tech/topics/rust.md>), [Hardware](<https://devfeed.tech/topics/hardware.md>)

Tags: [framework](<https://devfeed.tech/tags/framework.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [graphics](<https://devfeed.tech/tags/graphics.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [interfaces](<https://devfeed.tech/tags/interfaces.md>), [performance](<https://devfeed.tech/tags/performance.md>), [render](<https://devfeed.tech/tags/render.md>), [rust](<https://devfeed.tech/tags/rust.md>), [user-interfaces](<https://devfeed.tech/tags/user-interfaces.md>)

## AI overview

This deep dive explains how Zed's GPUI framework uses Rust and GPU-accelerated rendering to build responsive user interfaces. It describes the performance limitations of Electron and Atom, the decision to create a custom UI framework, and the use of data-driven primitives and custom shaders to draw interface elements in parallel on the GPU.

## Source excerpt

A deep-dive into the graphical underpinnings of GPUI, the hardware-accelerated framework that powers Zed's user interface.