This Week at Zed Industries: #12
Zed publicly launched its preview channel and reports progress across the editor: Vim search commands, macOS ctrl-click remapped to right click in the platform layer, terminal Cmd+hover navigation, a semantic index that collapses nested tree-sitter symbols to cut embedding tokens, and a lock-contention bug where slow git status in huge repos serializes file scanning. The most substantive section covers CRDB, Zed's planned collaboration backbone. It uses serde-bare instead of Protocol Buffers so message types live entirely in Rust, routes messages by TypeId, and syncs replicas with vector clocks as a distributed set union. Operations are applied by reconstructing revisions from a DAG of operations with cached snapshots and copy-on-write B-trees.
Related posts
- This Week at Zed Industries: #14
Zed easyNoviceZed's weekly update covers a reworked search UI with semantic search, the start of WebAssembly extensions for custom language servers, and near-complete collaboration channels. The most technical section describes CRDB repository sync without vector timestamps. Client and server find a shared prefix of a Lamport-ordered operation log by comparing Bromberg associative-hash digests over ranges, computed in O(log n) via a B-tree, trading extra round trips against sending redundant operations. Channels are modeled as a DAG whose permissions cascade downward, and GPUI layout is expressed with chained Rust builder calls instead of a macro DSL.
- How CRDTs make multiplayer text editing part of Zed's DNA
Zed mediumAdeptZed builds collaborative editing into its core using CRDTs rather than Operational Transformation, making concurrent edits commutative by addressing text through stable logical anchors (insertion id plus offset) instead of absolute offsets. Each insertion gets a unique id from a centrally assigned replica id and a sequence number. Deletions are tombstones tagged with version vectors so concurrent insertions inside a deleted range stay visible, and concurrent inserts at the same spot are ordered by descending Lamport timestamp with replica id as tiebreaker to respect causality. Per-user undo/redo is also covered, and a copy-on-write B-tree avoids linear scans when resolving anchors.
- This Week at Zed Industries: #1
Zed mediumAdeptZed grew out of Xray, the experimental editor Nathan Sobo and Antonio worked on at GitHub in 2018, and this weekly update recaps the path from there to a company and a private alpha. It also describes the team's first "quality week" of bug fixing, which they plan to repeat every six weeks. Multibuffer performance in project-wide search got much faster after two fixes. Rope fingerprints, computed with the monoid-homomorphic bromberg_sl2 hash and aggregated through a B-tree, are now stored as HashMatrix values instead of allocated Strings. Excerpts are also built on a background thread and streamed into the multibuffer so the main thread no longer blocks.
- 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: #28
Zed mediumAdeptZed is rewriting its editor as Zed2 in three phases (runnable core editing, productivity features like collaboration, terminal and Vim mode, then flagship features like Assistant, Copilot and Chat), aiming for a preview by end of 2023 and open-sourcing shortly after Zed2 supersedes Zed1. Team updates cover porting core UI such as popovers, autocomplete menus and breadcrumbs. The UI component work introduces a shared `ButtonLike` base for `Button` and `IconButton` and Rust traits like `Selectable` that concrete components delegate to, keeping APIs and styling consistent. Other updates include typescript-language-server, eslint and prettier fixes, plus an idea for searching gitignored directories in the file finder.