Live data from Hacker News

Zed is now available on Windows

zed.dev

131–140 of 386 posts

Re: Zed is now available on Windows

#131
post #13

Earlier quoted context omitted.

What could they be statically linking to have a 400MB executable?

They wrote their own graphics renderering library for starters, that's bundled into the editor when compiled. https://www.gpui.rs/

Every Unity game ships with three UI frameworks (IMGUI, UGUI, UI Elements) built-in, in addition to everything else the game engine supports, and the engine is only about 50 MB.

Re: Zed is now available on Windows

#133
post #10

Have they implemented subpixel font rendering by now? I remember that being a sticking point when it came to Linux because they had designed their custom UI renderer around the Macs ubiquitous HiDPI displays, leading to blurry fonts for the much, much larger proportion of Linux (and Windows) users who still use LoDPI displays.

I am confused about this. Doesn't Zed use CoreText on MacOS just as they use DirectWrite on windows. Shouldn't MacOS CoreText handle all this ?

Spitballing here, but subpixel rendering also requires integration with the rendering pipeline, specifically that you have the infrastructure to pass fractional offsets to the rasterization engine based on the concrete screen position of a glyph, and that the glyph atlas is a full RGBA texture (not just an alpha texture), and that the rasterizer knows about the particular texture format (RGBA vs BGRA etc.)

Re: Zed is now available on Windows

#134
post #10

Have they implemented subpixel font rendering by now? I remember that being a sticking point when it came to Linux because they had designed their custom UI renderer around the Macs ubiquitous HiDPI displays, leading to blurry fonts for the much, much larger proportion of Linux (and Windows) users who still use LoDPI displays.

I am confused about this. Doesn't Zed use CoreText on MacOS just as they use DirectWrite on windows. Shouldn't MacOS CoreText handle all this ?

If they’re like egui, they may render to a font atlas which complicates subpixel-AA.

Re: Zed is now available on Windows

#135

Earlier quoted context omitted.

considering how cheap storage is nowadays nitpicking about binary size is a very weird take. Are you editing code on an esp32?

RAM is not cheap. Executables live in RAM when running.

No, they're mmapped to RAM. Only the pages that get used are loaded to RAM.

Re: Zed is now available on Windows

#136
post #123

Technically, Zed's Super Compete will almost never catch up with Cursor, or even as good as the free Windsurf. If you look a little closer, you will see that the cursor and cursor completion requests are not initiated by the editor itself, which only interacts with the lsp. Yes. They all come with an LSP, taking free windsurf as an example, when windsurf starts, it will start a process in /Applications/Windsurf.app/C…

Do either Windsurf or Cursor work well with local or no AI? One of the things I like about Zed is that it can, and is completely free.

Re: Zed is now available on Windows

#137

Earlier quoted context omitted.

A 400mb+ install of bloat will upset many people This needs to be justified asap to help people understand and reconsider installing it.

Strangely it's the actual binary's .text section that's about 400MB. Time to dive in!

Welcome to static linking of large applications.

The world moved into dynamic linking in the 1980's for a reason.

It is cool to advocate for a return to static linking when it is basic CLI tools.

Re: Zed is now available on Windows

#138
post #41

I watched the video on the home page and thought it is weird that they spend an inordinate amount of time on frame rate. Who picks an editor based on frame rate? If you want to talk about perf in the context of a text editor show me how big of a file you can load--especially if the file has no line breaks. Emacs has trouble here. If you load a minified js file it slows to a crawl especially if syntax highlighting is…

It's not just frame rate, but also input delay. If you're using Visual Studio Code, you might be used to waiting 100 ms for a character you typed to appear. My personal workflow is based on Kitty and Neovim, which I've configured so that it can launch within 20 ms. Working without any input delay allows me to explore and edit projects at typing speed. As such, even tiny delays really bother me and make me lose my flo…

> you might be used to waiting 100 ms for a character you typed to appear.

The latest benchmark I could find is 2022 and it's nowhere as bad as you claim

https://github.com/microsoft/vscode/issues/161622#issuecomme...

Re: Zed is now available on Windows

#139
post #5

Earlier quoted context omitted.

> winget search zed Name Id Version Match Source ----------------------------------------------------------------------------------------------------------------------- Zed Preview ZedIndustries.Zed 0.208.4-pre Moniker: zed winget So not fully updated yet it seems.

Soon https://github.com/microsoft/winget-pkgs/pull/303728

These ones actually: https://github.com/microsoft/winget-pkgs/issues/304075

Re: Zed is now available on Windows

#140

Earlier quoted context omitted.

I just refuse to use any software that baloons it's filesize. Not because I can't afford storage, but because there are always alternatives that have similar features and packed into fraction (usually less than 1%) of filesize. If one of them can do it and other can't, it's a bad product, that I have no intention to support. We should strive to write better software that is faster, smaller and more resilient. "Storag…

I can empathize with how lazy some developers have gotten with program sizes. I stopped playing CoD because I refused to download their crap 150+ GB games with less content than alot of other titles that are much smaller. That said, storage is cheap, it's not a mentality but a simple statement of fact. You think zed balloons their file sizes because the developers are lazy. It's not true. It's because the users have…

Does static linking really reduce memory and cpu usage significantly compared to dynamic linking?
Post reply on HN