Introducing Zed—A lightning-fast, collaborative code editor written in Rust.
We think there’s a better way to write code, and it starts with the following assumptions: @@ -10,7 +10,7 @@
Mission-critical tools should be hyper-responsive.
- When you move the cursor or type a character, you should see pixels on the next refresh of your display–every time. Even sub-perceptual pauses add up over the course of a day to create unnecessary stress. + When you move the cursor or type a character, you should see pixels on the next refresh of your display—every time. Even sub-perceptual pauses add up over the course of a day to create unnecessary stress.
@@ -52,21 +52,21 @@
Under the hood
Rust
+Building in Rust
Rust offers expressivity and developer productivity rivaling languages that depend on a VM, while simultaneously offering the control required to fully utilize the underlying hardware.
Rust’s unique ownership model is a challenge at the beginning, but once you internalize it, you can write extremely efficient multi-core code without fear of invoking undefined behavior.
It also makes it straightforward to call directly into the C-based APIs of the operating system. Rust makes it possible for a small team to build a complex product quickly, and Zed wouldn’t have been possible without it.
-In the past to write software with this performant you would need to use C++. Rust, for the first time, enables us to write software at that level as a very small team.
+In the past, to write software with this performant you would need to use C++. Rust, for the first time, enables us to write software at that level as a very small team.
GPUI
-We originally planned to use Electron as a convenient means of delivering a cross-platform GUI for Zed while building the core of the application in Rust. But at every turn, we found that web technology was the bottleneck in achieving amazing performance.
+A new GPU-powered UI framework
+We originally planned to use Electron as a convenient means of delivering a cross-platform GUI for Zed, while building the core of the application in Rust. But at every turn, we found that web technology was the bottleneck in achieving amazing performance. Finally, we decided to take full control and simply build a GPU-powered UI framework that met our needs.
-Finally, we decided to take full control and simply build a GPU-powered UI framework that met our needs. We call it GPUI.
+ We call it GPUI.We took a lot of inspiration from Mozilla’s Webrender project. The key insight was that modern graphics hardware can render complex 3D graphics at high frame rates, so why not use it to render relatively simple 2D user interfaces with an immediate mode architecture?
@@ -97,7 +97,7 @@———
-Excited about what we are doing? Sign up for updates to follow along in our development process.
+Excited about what we are building? Sign up for updates to follow along in our development process.