Linux when?
Zed's Linux port works by implementing GPUI's platform-agnostic `Platform` and `PlatformWindow` traits for Linux. Three months after open-sourcing, Zed compiles and runs usably on Linux. The hard parts were the fragmentation of the Linux desktop (distributions, packaging, X11 vs Wayland, desktop environments, audio servers) and replacing the Metal renderer. Community contributor kvark solved rendering with Blade, a Vulkan-based GPU abstraction, and other contributors added Wayland support, file dialogs and input fixes behind a shared `LinuxClient` trait.
Related posts
- Zed Weekly: #22
Zed easyNoviceZed 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. Channels are being reworked to separate chat-style communication from DAG-structured project notes, with unread indicators, notifications, public channels and deep links on the way. Julia split markdown parsing from rendering for completion documentation, avoiding flicker when grammars load late and speeding up rendering. Other work covers Vue LSP and tree-sitter support, CPU and memory telemetry, and a fix for a follow-loop bug in collaboration.
- Zed Weekly: #25
Zed mediumAdeptZed 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. All state lives in an AppContext that acts like an application-specific heap: Model<T> handles are dereferenced through a context, and models emit and subscribe to events. View<T> wraps models whose types implement a Render trait that returns element trees. Components, Tailwind-style styling helpers, a color-scale-based theme system and a new layout engine and executor round out the design. Bottleneck crates (project, workspace, editor) made the port largely serial, so the team leaned on Rust's type system and Zed's collaborative editing to pair on it, with roughly a third to half of the app ported after two weeks.
- Leveraging Rust and the GPU to render user interfaces at 120 FPS
Zed hardMasterZed'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. Rounded rectangles come from a signed distance function evaluated in a Metal fragment shader. Drop shadows follow Evan Wallace's approximation, which pairs a closed-form erf-based Gaussian convolution on one axis with a few samples along the other. Text uses OS shaping via CoreText, with a per-frame cache of text-font pairs so only changed text gets reshaped.
- Zed for Windows: What's Taking So Long?!
Zed mediumAdeptPorting the Zed editor to Windows required a new DirectX 11 rendering backend with HLSL shaders, replacing Vulkan so it runs on nearly all Windows machines including VMs and uses less memory. Switching glyph rasterization from Direct2D to DirectWrite made RenderDoc debugging possible and fixed glyph clipping bugs. High VRAM usage from path MSAA was solved by drawing all paths into a single render-target-sized MSAA texture, which also improved rendering on every platform; whole-scene MSAA was rejected because it hurt Intel GPUs. Windows-specific auto-update via a helper binary and server-side minidump symbolication round out the work, with key bindings, SSH, WSL and WASM extension path handling still pending.
- This Week at Zed Industries: #8
Zed easyNoviceZed'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. Performance fixes include lazily loading gitignored and out-of-project symlinked directories to cut memory, CPU and collaboration sync costs, and only updating the mouse cursor style when it changes, which removes an expensive per-frame cursor rasterization in the immediate-mode GPUI. The team also started work on an embedding and indexing engine for semantic navigation, and is considering moving GPUI from Flutter-style specialized elements to an HTML/CSS-like single element with runtime styling to shorten Rust compile feedback loops.