Live data from Hacker News

Zed is now available on Windows

zed.dev

321–330 of 386 posts

Re: Zed is now available on Windows

#321
post #273

Earlier quoted context omitted.

$600 laptop can mean a Macbook with Apple Sillicon CPU in this day and age.

When they say $600 they probably mean brand new pricing. Last I checked, cheapest MacBook is $999+ for the air.

I bought two of mine for $700 brand new at Best Buy. And I didn't even wait for a sale.

Re: Zed is now available on Windows

#322
post #23

Earlier quoted context omitted.

That's more of an issue with your system than an issue with Zed, you have to veer pretty far from the beaten path to not have proper DirectX nowadays. Are you running Windows in a VM?

No, but I am remoted in to my dev box (over RDP/mstsc).

Zed supports remote editing if that helps.

Re: Zed is now available on Windows

#323

Earlier quoted context omitted.

What does a desktop text editor have to do with WebRTC?

Judging by this note in the docs: Collaboration features. https://zed.dev/docs/development/freebsd#webrtc-notice

If they're going to implement every feature under the sun and include half of userspace to support it, they might as well build the whole thing on top of a browser.

Re: Zed is now available on Windows

#324

Earlier quoted context omitted.

> The world moved into dynamic linking in the 1980's for a reason. Reasons that no longer exist. Storage is cheap, update distribution is free, time spent debugging various shared lib versions across OSes is expensive.

> Storage is cheap I'll be very grateful if you stopped using all my RAM for two buttons and a scrollbar thank you.

OSes don't load the full executable into physical RAM, only the pages in the working set. Most of the Zed executable's size is tree-sitter code for all the supported languages, and only needs to page in if those languages are being used in a project.

Re: Zed is now available on Windows

#325
post #137

Earlier quoted context omitted.

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.

I think there should be a best-of-both-worlds type of linking - during compilation, the linker places a statically compiled library at a certain address, but doesn't include it in the binary. Then, during startup, the OS maps the same library to the given address (sharing the data between processes). This would improve memory use and startup time both and performance, avoiding dynamic linking. Of course you need to m…

Static linkers generally don't compile a "full copy" of the library. Just the code paths the compiled application uses. The compiler may have also made optimizations based on the apppication's usage patterns.

Re: Zed is now available on Windows

#326

Earlier quoted context omitted.

Subpixel antialiasing of fonts is a pretty standard feature for a few decades. Without it, text can look fuzzy on certain displays. > does we run game engine for code?? Zed literally does this; they render their UI using a graphics library just like a video game.

It's fun to see "GPU accelerated" and "like game engine" when literally every application is rendered the same way with the same APIs.

Last I checked I don't create a GL context to make a WPF app.

Re: Zed is now available on Windows

#327
post #291

Earlier quoted context omitted.

Compared to Sublime Text: RAM: 213 MB Zed 41 MB ST Storage: 406 MB Zed 52 MB ST Startup time: Zed is slower than ST (but only by a few milliseconds). Also when you reopen ST it will remember how you've resized the window from last time whereas Zed won't.

ST is a text editor while Zed is an IDE. I wish there were something like VSCode that is very modular but written in native. But VSCode is good enough and it is my daily driver.

> ST is a text editor while Zed is an IDE.

Zed is the new emacs?

Re: Zed is now available on Windows

#328

Just wanted to mention that some basic Windows-OS keyboard shortcuts don't work, like ALT+F to open the File menu. Also things like ALT+SPACEBAR to bring up the system context menu for the focussed window (the menu with maximise, minimise, close options etc.) do not seem to work. I'm guessing with the DirectX rendering backend, the 'app' is rendered more akin to a video game than a native win32 process. Also after in…

> I was always under the impresion that Rust apps are pretty lightweight, but that install size is nearing Java levels of binary/dependency bloat. For what it's worth, the zed executable on Linux weighs 3.2 MB. EDIT: Sorry, the nix store is too good at hiding things from me. It's actually around 337 MB plus webrtc-sys.

Amazon q is 100mb and that’s a cli app. Rust programs be huge.

Re: Zed is now available on Windows

#329

I've been using Zed primarily for months but I just switched back to VSCode for 2 reasons, one of which is kinda my fault and the other it's unclear where the fault is. 1. I deleted a few hours of work because I was late night coding and I decided to rename a file before check-in and delete the old version. Well I renamed it and Right-Click -> Deleted the new version by accident. It turns out Zed has both "Delete" an…

On the subject of surprising behaviour. I did something last week. I don't know what it was, but maybe some kind of fat-finger error. It randomly deleted 3-line chunks all across my codebase. No rhyme or reason. I was just about to commit a big change, so it was annoying. It might have been a global search and replace, but there was no clue in the history. And I can't think what kind of regex it could have been. Or m…

Just a pure guess, but if you do a global find, you get a list of 3-line-ish chunks of context around search matches.

If you then Ctrl+A to select all and press backspace, I wonder if that would delete all those 3-line chunks...

Re: Zed is now available on Windows

#330

Earlier quoted context omitted.

Unstripped, perhaps? ls -lh /nix/store/63rdpgbzn7f1smh7688crcrpfsh833bb-zed-editor-0.199.10/bin/zeditor -r-xr-xr-x. 2 root root 3.2M Jan 1 1970 /nix/store/63rdpgbzn7f1smh7688crcrpfsh833bb-zed-editor-0.199.10/bin/zeditor EDIT: Ah, it was too good to be true. The true binary is hidden in libexec/.zed-editor-wrapped :( ls -lh /nix/store/52smrb1z8r4n71zx50xagkcdrhlga4y5-zed-editor-0.207.4/libexec/.zed-editor-wrapped -r-x…

$ strip --strip-all ./target/release/zed $ du -h ./target/release/zed 261M ./target/release/zed $ strip --strip-all ./target/debug/zed $ du -h ./target/debug/zed 482M ./target/debug/zed Correct. It is still embarrassing, in my opinion. To make matters worse, it takes several minutes for Zed's window to appear on a cold start, whereas VSCode launches almost instantly. [1] I am trying to measure it as we speak but it i…

[deleted]
Post reply on HN