---
title: "Zed Weekly: #29"
description: "Zed's port to GPUI 2 is nearing daily usability, and the team is focused on frame-rendering performance measured by holding tab-switch at 60Hz key repeat."
url: "https://swe.quest/articles/zed-weekly-29-41f27bba860d0170"
canonical: "https://zed.dev/blog/zed-weekly-29"
source: "Zed"
published: "2023-12-15"
difficulty: "medium"
kind: "Article"
reading_minutes: 6
tags: ["rust","memory-management","performance","frontend","developer-tools"]
---

# Zed Weekly: #29

A post on [Zed](https://swe.quest/sources/zed.md), published 2023-12-15, 6 min read, Article. Original: [https://zed.dev/blog/zed-weekly-29](https://zed.dev/blog/zed-weekly-29)

## Summary

Zed's port to GPUI 2 is nearing daily usability, and the team is focused on frame-rendering performance measured by holding tab-switch at 60Hz key repeat. Because every element is a boxed trait object, they replaced malloc with a custom thread-local bump arena that enforces safety dynamically instead of via lifetimes, and changed \`Element::paint\` to take \`&mut self\` to avoid heap-to-stack copies. The target is full-window redraws under 4ms on an M1, with view caching planned next. Other updates cover a better VS Code theme importer, focus handlers moved to run after each frame draw to fix a split-pane focus bug, and a port of the feedback UI.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Rust](https://swe.quest/tags/rust.md) (Languages)
- [Memory management](https://swe.quest/tags/memory-management.md) (Compilers & runtimes)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)
- [Frontend](https://swe.quest/tags/frontend.md) (Web & mobile)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)

## Prerequisites

- Rust trait objects and lifetimes ([easy posts on Rust](https://swe.quest/tags/rust.md?difficulty=easy))
- arena allocation

## Keywords

Zed, GPUI 2, bumpalo, taffy

## Related posts

- [Zed Weekly: #22](https://swe.quest/articles/zed-weekly-22-1c922abde503e316.md): Zed · 2023-10-06 · Easy · 7 min read · Developer tools, Rust, Real-time systems, Product engineering
  Zed team members report weekly progress: GPUI is being rewritten with a ported Metal renderer that uses plane-split for primitive draw ordering, multi-threaded entity access, and a MainThread\<T: Context\> wrapper so native UI APIs are only called from the main thread.
- [Leveraging Rust and the GPU to render user interfaces at 120 FPS](https://swe.quest/articles/leveraging-rust-and-the-gpu-to-render-user-interfaces-at-120-fps-8175e9071db5a167.md): Zed · 2023-03-07 · Hard · 16 min read · Performance engineering, Rust, Frontend, Hardware, Developer tools
  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.
- [Optimizing the Metal pipeline to maintain 120 FPS in GPUI](https://swe.quest/articles/optimizing-the-metal-pipeline-to-maintain-120-fps-in-gpui-951f2f761e0fc50d.md): Zed · 2024-02-07 · Medium · 9 min read · Performance engineering, Frontend, Rust, Hardware, Debugging
  Zed's GPUI renderer dropped frames on Macs running in direct (non-composited) mode because \`MetalRenderer::draw\` blocked the main thread with \`wait\_until\_completed\`.
- [Zed Weekly: #25](https://swe.quest/articles/zed-weekly-25-cd3a5f41d4f0b187.md): Zed · 2023-11-03 · Medium · 6 min read · Rust, Frontend, Refactoring & migrations, Developer tools
  Zed is rewriting its UI framework as GPUI 2 and porting the whole editor onto it before open-sourcing, trading feature work for better ergonomics while keeping GPUI 1's performance.
- [This Week at Zed Industries: #8](https://swe.quest/articles/this-week-at-zed-industries-8-7c421eb8ade6414f.md): Zed · 2023-06-23 · Easy · 4 min read · Developer tools, Performance engineering, Frontend, Rust
  Zed's weekly team update covers work on the AI assistant panel (multi-cursor, message splitting, saved conversations), voice collaboration via GPUI, and inlay hint latency and caching.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
