Live data from Hacker News

Linux When?

zed.dev

41–50 of 169 posts

Re: Linux When?

#41

I'm curious why Zed chose Blade over wgpu/wgpu-hal. There's a bit of detail here: https://github.com/zed-industries/zed/issues/7015 But I'd be curious to read a longer writeup on the tradeoffs and how they came to their decision.

I imagine having a great PR magically show up that used Blade had a lot to do with it.

Re: Linux When?

#42

If Apple had just adopted the Vulkan standard instead of going off with their own proprietary graphics API this would have been a non-issue. Smacks of Canonical and their repeatedly doing one thing while ignoring the rest of the community standardizing on something else.

Unfortunately, the renderer is only one step in supporting an alternative platform. Even if we could have used Vulkan on every platform, the windowing APIs are completely different and those do most of the things we like our code editors to support, like typing.

Re: Linux When?

#43
post #39

Serious question: I am looking at the measurements of speed on the landing page between Zed and the other editors, and they don't seem drastic. Do you actually feel the difference when typing?

Compared with VSCode, absolutely. VSCode has a range of responsiveness from "good enough" to "oh right, this is Electron". Zed is both faster and more consistent. Sure, we're talking 10s of milliseconds, but it's surprisingly noticeable. Can't speak for other editors.

I'm becoming a true convert, though I occasionally must drop down to a termianl for advanced vim features. That's high praise coming from me, as I have a high bar for adopting new tools.

Re: Linux When?

#45

> On macOS, for example, Zed makes direct use of Metal. We have our own shaders, our own renderer, and we put a lot of effort into understanding macOS APIs to get to 120FPS. So they are taking the exact opposite approach of Electron (VS Code). In my mind, if you're someone who types in HN comments in a rage because your text editor (VS Code) eats up 200+ MB ram, you don't get to cry about Zed not being supported on L…

Or… use one of the existing cross platform toolkits that have existed for decades. Text Editors, traditionally, did not require shaders to run or be performant, and not require entire systems worth of RAM.

Out of curiosity, how many of them run at 120 FPS?

(honest question - I've never looked into it myself)

Re: Linux When?

#46

> On macOS, for example, Zed makes direct use of Metal. We have our own shaders, our own renderer, and we put a lot of effort into understanding macOS APIs to get to 120FPS. So they are taking the exact opposite approach of Electron (VS Code). In my mind, if you're someone who types in HN comments in a rage because your text editor (VS Code) eats up 200+ MB ram, you don't get to cry about Zed not being supported on L…

I suppose ideally you'd want it to be written on Linux first, if you're that kinda person - but the market is probably on Mac?

I remember reading a long time ago (think pre-intel macs) that game developers never developed for macs.

However if they did, the games would sell because the mac people wanted games and there were so few available they would buy anything.

problems of a closed ecosystem.

Re: Linux When?

#47
I really appreciate how Zed tries to tailor make and ensure their app looks and feels native on Linux.

One thing that scares me with it though is the lock in of the multiplayer features. I can see it forcing me to use it and not my preferred editor, because other people use Zed.

Would love it if we were not only platform independent but also editor independent regardless of social pressure.

Post reply on HN