Live data from Hacker News

Zed, a collaborative code editor, is now open source

zed.dev

181–190 of 642 posts

Re: Zed, a collaborative code editor, is now open source

#181
Really nice and fast (which is the reason I’m still using Sublime instead of VS Code). I’ve only found one piece of functionality that’s dramatically slow compared to Sublime so far: selecting all of the current highlight. In my current file I have 2,396 occurrences of ``. Selecting all of them in Sublime (with ctrl + cmd + g) is certainly less than 200ms. Doing the same in Zed (with cmd + shift + l) beachballs my machine for around 5 secs.

For most code work that’s probably not a situation to optimise for, but I often work on large markup documents.

Re: Zed, a collaborative code editor, is now open source

#182

> respond to your keystrokes on the next display refresh Claimed insertion latency for a keystroke: - zed 58ms - subl 75ms - vscode 97ms - clion 83ms 60 Hz displays refresh once every ~16.6ms. 58ms to insert a character is ~3.5 frames. My laptop can do 120 Hz, and other monitors can even do 300 Hz. Yeah, it's a lot faster than the other editors, but 58ms seems really slow - definitely not "next display refresh". All…

Much of that is latency added by the design of modern compositors (see "the compositor is evil").

The good-ish news is that as the frame rate goes up, compositor latency goes down, as it's usually an integer multiple of frame refresh time.

I'm also interested in influencing the design of next gen systems to reduce compositor latency, but I'm apparently pretty much alone in that interest.

Re: Zed, a collaborative code editor, is now open source

#186
post #91

Earlier quoted context omitted.

Is there any way to make it compatible with macOS 10.14? Your minimum macOS requirement is literally just one release away from what I have!

I'm running it just fine on 10.14.

During the closed beta, the requirements said the minimum was 10.15, and I tried to download it and run it anyway and it wouldn't run.

Did you have to build it from source?

Re: Zed, a collaborative code editor, is now open source

#187

> respond to your keystrokes on the next display refresh Claimed insertion latency for a keystroke: - zed 58ms - subl 75ms - vscode 97ms - clion 83ms 60 Hz displays refresh once every ~16.6ms. 58ms to insert a character is ~3.5 frames. My laptop can do 120 Hz, and other monitors can even do 300 Hz. Yeah, it's a lot faster than the other editors, but 58ms seems really slow - definitely not "next display refresh". All…

As computers got more complex, latency increased. It's really pretty remarkable to see how things have changed over the years[1]. I do agree that 58ms seems far outside of the range of "next display refresh", however. [1] https://danluu.com/input-lag/

> These are tests of the latency between a keypress and the display of a character in a terminal

Wow, the numbers are entirely unexpected. I want to see the latency when you have no display server, having booted directly to a shell.

I imagine modern competitive twitch-reflex videogames (fps, fighting) must have far less input latency - 100ms must be totally unacceptable. Suppose that's the power of a GPU.

Re: Zed, a collaborative code editor, is now open source

#189

How many people find real time sharing helpful? I've never found it to be beneficial. I'm curious.

As a senior engineer, it really helps when helping junior engineers. When I'm on a call and we're sharing screens it gets really annoying having to tell them "no, go up. Go up, all the way up, the button at the top. THE TOP"

This. The worst thing is that I get mad at them for not doing what I want them to, faster, when the tooling and my crooked explanations are at fault, not them. Not that I mention that out loud, but sometimes I feel ashamed for those feelings.

Having real time collaboration that works so seamlessly as Zed apparently does would really get me to consider switching IDEs!

Re: Zed, a collaborative code editor, is now open source

#190

Any pictures of how Zed actually looks? Searched their site and couldn't find any...

Their landing page is chock full of screenshots of zed in action. Maybe your adblocker rules are causing some false positives?

That was it, thanks for the suggestion!
Post reply on HN