Live data from Hacker News

Zed: High-performance AI Code Editor

zed.dev

421–430 of 447 posts

Re: Zed: High-performance AI Code Editor

#421

Earlier quoted context omitted.

4k displays are available at just a few hundred bucks these days, I'd hardly call that being rich.

That was absolutely not true in the "early 2010s", not even 5 years ago unless you wanted to seriously compromise on some other aspect of the display.

I did not say people used 4k displays in early 2010s en masse, I said that's when I last saw people use 1440p displays. I live in present time, and in present time 4k displays are very cheap. It gets a little more pricey if you want high refresh rate as well, though my 4k 144hz display was just around 400 EUR, which I would consider a lower-mid-tier price range.

Re: Zed: High-performance AI Code Editor

#423

I really want to move off VS Code and start using Zed, but unfortunately the text is always extremely blurry. It's just unusable. I check back on the GitHub issue every few months and it just has more votes and more supportive comments, but no acknowledgement. Hopefully someone can rescue us from the sluggish VS Code. https://github.com/zed-industries/zed/issues/7992 I have a 1440p monitor and seeing this issue.

From the Zed homepage: > The entire Zed code editor is open source under GPL version 3, and scratch-built in Rust all the way down to handcrafted GPU shaders and OS graphics API calls. When I saw this, I immediately wondered what strange rendering bugs Zim might run into. This was before reading your comment. In my opinion, this type of graphics work is not the core functionality of a text editor, same has been solve…

Most likely there were no ready libraries when they started. Even now there are very few that can be called stable. And even then many of them are HTML based. So if you are going to spend that much time developing GUI from scratch you might as well make it your own library and get full control.

Re: Zed: High-performance AI Code Editor

#424

I've had aot of issues with AI hallucinating the API surface for libraries, to the point where I kinda gave up using it for a lot of purposes. But I got back on the horse & broke out Zed this weekend, deciding that I'd give it another shot, and this time be more deliberate about providing context. My first thought was that I'd just use Zed's /fetch and slam some crates.io docs into context. But there were dozens and…

You can use MCP servers without the need to use an extension. You can either add it in the settings.json or use the "Add custom server..." button on the agent 3-dot menu.

The extensions are just for more ease of use as they install the server as well. A one click solution.

Re: Zed: High-performance AI Code Editor

#425

I really want to move off VS Code and start using Zed, but unfortunately the text is always extremely blurry. It's just unusable. I check back on the GitHub issue every few months and it just has more votes and more supportive comments, but no acknowledgement. Hopefully someone can rescue us from the sluggish VS Code. https://github.com/zed-industries/zed/issues/7992 I have a 1440p monitor and seeing this issue.

From the Zed homepage: > The entire Zed code editor is open source under GPL version 3, and scratch-built in Rust all the way down to handcrafted GPU shaders and OS graphics API calls. When I saw this, I immediately wondered what strange rendering bugs Zim might run into. This was before reading your comment. In my opinion, this type of graphics work is not the core functionality of a text editor, same has been solve…

> In my opinion, this type of graphics work is not the core functionality of a text editor, same has been solved already in libraries.

In a world full of electron based apps, I appreciate anyone who dares to do things differently.

Re: Zed: High-performance AI Code Editor

#426

Earlier quoted context omitted.

shrink the zed window by one pixel horizontally and one pixel vertically. there's a video on that issue page which shows resizing making the font go in and out of focus, and that tells me that there's something dividing the window height and width by 2 and starting the font rendering there. if you divide by 2 and you get .5, you'll see the blurriness. if you make the window 1 pixel wider you won't get x.5 anymore, yo…

This smells like a fractional DPI scaling issue.

It can happen at any scaling, depending on how you anchor controls in the application window.

A text area anchored correctly to the top and left of the window would absolutely not move no matter how tall or wide the window is, and no display scaling setting would impact that.

Re: Zed: High-performance AI Code Editor

#428

I generally use Neovim, but Zed was the first code editor that made me go, "Wow, I can see myself actually using this." My only gripe is the "Sign In" button at the top that I can't seem to remove. But apropos TFA, it's nice to see that telemetry is opt-in, not opt-out.

Sorry if this is obvious, but have you tried signing in?

Not OP, but the Sign In button is for GitHub on Zed. Which conflicts with GitHub sign in for any of the other AI agents, so you have to pick only one (the others will time out and do nothing after the first). On work machines I use the corporate Copilot login, so I just have a permanent Sign In button in the upper right that doesn't function and can't be hidden.

Also I don't want to pay with my private data from some of my systems. So I don't ever want to sign in on those systems and just have a useless button sitting there.

Re: Zed: High-performance AI Code Editor

#429
post #37

I'm not sure, it might have changed since, but my personal experience was different. Tried using zed on Linux (pop os, Nvidia) several months ago, was terribly slow, ~1s to open right click context window. I've spent some time debugging this, and turns out that my GPU drivers are not the best with my current pop os release, but I still don't understand how it might take so long and how GPU is related to right clickin…

This.

It seems Vulkan support, the only GPU rendering API Zed uses, isn't well supported by any of the Debian derivatives. The libraries are only installed and working in Ubuntu 24.04 in Gnome Wayland sessions for example (Ubuntu 24.04 doesn't have KDE new enough for Wayland support).

And there are also bugs in the Zed automatic GPU selection that will intermittently cause it to pick the wrong GPU in a system with multiple (E.g. a discreet GPU and a motherboard with integrated graphics). Vulkan can only run on the primary rendering GPU, but it doesn't always pick that one, and doesn't support trying any others after the first one or picks (it seems), so it just falls back to emulated.

For reference, I had to spend 4 days getting Zed to install as part of a Nix home-manager config with nixGL because out of the box it failed to use the GPU on 2 of 3 systems. But after forcing it to use the right GPU with a wrapper that had Vulkan support (a nixGL wrapper) all 3 systems worked fine (so it's a Zed assumption/bug problem).

Also, the fact that Zed without the Vulkan supported hardware rendering is unusably slow is a big problem. It's far slower than anything else on the system and cranks the CPU to 100 with its "emulated GPU" workaround. That's not acceptable, they really need to get at least basic performance for the seeming majority of target systems that don't/can't meet the hardware rendering needs.

Re: Zed: High-performance AI Code Editor

#430
post #302

I wanted Zed to work as a high performance dev-enabled Markdown editor as I was looking to replace Obsidian that doesn't scale well (memory use and cursor latency degrades with document size, and generally what I suspect is a weak foundation). My use case is active note taking(PKM) and reviewing including a few large (1-2+ MB) markdown files. However, to my surprise, the performance for Markdown was much worse - it's…

> On this note, I think there's room for an open source pluggable PKM as an alternative to Obsidian and think Zed is a great candidate. Unfortunately I don't have time to build it myself just yet. I'm also super interested in building this. OTOH Obsidian has a huge advantage for its plugin ecosystem because it is just so hackable. One of the creators of Zed talked about their experience building Atom - at the time th…

I'd argue their current plugin API model is far too strict. It only supports 4 things: theming the GUI (color+alpha changes only), adding tree sitter grammars, adding a language server, and adding "slash commands" (which seems to be a defunct prior experiment).

Notably it does not include the ability to add any features, or configure any settings. In VSCode the block edit function and multi-cursor weren't part of the original tool, but were available as extensions. While Zed has that particular feature right out of the box, there's no ability to add features like that via extensions in Zed. Also, Zed doesn't even seem to have the concept of per-buffer settings or "effective" settings that differ from what's on disk. It's why you can't set tabs vs spaces for indentation in a single buffer, you can only set it globally (for example). That's probably why they don't allow extensions that do things like add predefined key maps, or associate new files with a language (without defining a new grammar), or apply a pre-defined set of settings automatically (E.g. autodetect indentation type? Vim/Emacs modeline parsing?). Almost all of even the simplest VSCode, Emacs, and Vim/Neovim extensions/packages/plugins make use of this concept, which is why it's wild Zed doesn't even (seemingly) have the concept of it, let alone allowing extensions to use it.

In fact, I'd argue Zed doesn't actually have an extension system at all. It has a completion system (LSP servers), a language addition system (tree sitter grammar and/or LSP server), and a themeing system. It just combines all three into a single list it somewhat misleadingly calls "extensions". But it's missing the ability for "extensions" to do any of the most basic things every other tool assumes is table stakes for an extension system.

Post reply on HN