Live data from Hacker News

Zed on Linux Is Here

zed.dev

321–330 of 703 posts

Re: Zed on Linux Is Here

#321
post #290

Earlier quoted context omitted.

> There are close to zero people who tend to think like that among actual engineers. Oops. My apologies - I meant exactly that, that a significant number of engineers believe in correctness and sound approaches, but I had a brain fart writing that comment. It should've been "believe in the former". No idea about how many non-software engineers take various shortcuts, though. But I think there's a non-negligible numbe…

Don't apologize; GP is being a pedant in order to pick a fight. The "real" definition of "engineer" doesn't matter; your post makes just as much sense if you'd instead used "software developers".

It might be a cheap word in the US, the precise definition matters in many countries.

Re: Zed on Linux Is Here

#322
post #296

Earlier quoted context omitted.

I just tried it on NixOS 24.05. It starts, but nothing happens when I click "Open a project" or Ctrl+O. It's as if it lacks the ability to show a file selection dialog.

Could this be your issue? https://zed.dev/docs/linux#opening-files-does-not-work

This is almost definitely the problem they're facing although I think that description is a little bit odd. It's missing the operative word: "portals". It's the XDG desktop portals service that is involved here. What you need to ensure is that you have a desktop portal provider set up that provides org.freedesktop.impl.portal.FileChooser. What's kind of neat about the way xdg-desktop-portals is architected, you can pick and choose different implementations for different services. This is especially useful outside of desktop environments where you might need to use e.g. the wlr provider for screenshots and screen capture, but you still want e.g. KDE file dialogs.

It's unfortunate that the documentation for XDG desktop portals (and generally, setting up a complete desktop setup when using compositors like labwc or Sway) is relatively poorly documented. I have my feelings about the pervasiveness of DBus services everywhere but overall I like desktop portals.

Re: Zed on Linux Is Here

#323

Sadly I can't run it in WSL. thread 'main' panicked at crates/gpui/src/platform/linux/wayland/client.rs:143:51: called `Result::unwrap()` on an `Err` value: UnsupportedVersion note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I have been using it on Windows (native) after building it from source. Just for quick editing. It hasn’t crashed on me yet.

Re: Zed on Linux Is Here

#325
post #319

> Zed requires a physical GPU with a Vulkan 1.3 driver. That's new. Does everyone running Linux have a dedicated GPU these days? Only caught this because I'm in the middle of updating my nvidia driver.

I believe they mean “physical” as in not implementing in software. So integrated GPUs are perfectly fine as well.

Re: Zed on Linux Is Here

#326

Earlier quoted context omitted.

Sublime is the better Textmate. What would you do to subl to make it more like mate? I used textmate for years and years before switching to ST and it was a drop-in replacement.

The two are pretty close, but between the two TextMate feels more like a golden era OS X desktop app thanks to several small differences and tiny Mac-isms, and I'd like Sublime to have that feel too.

I also feel TextMate had the nicer overall UX. When I first tried Sublime, TextMate had the better text rendering (IMO). Sublime has more features but still doesn’t feel as slick somehow.

I’ve recently returned to Sublime from VSC. I prefer VSC’s UI for following links to definitons/references, but in most other ways I prefer Sublime’s nimbleness.

Re: Zed on Linux Is Here

#327

Earlier quoted context omitted.

This might seem funny until you read Ken Thompson's "trusting trust" paper and realize that bootstrapping Rust is a so overwhelming task that someone implemented a Rust compiler in C++ for this purpose: https://github.com/dtolnay/bootstrap I mean, who knows what kind of malware is transparently being injected in all Rust programs out there.

Nobody wrote a C++ compiler for this purpose; they wrote a Rust compiler (mrustc) in C++. > I mean, who knows what kind of malware is transparently being injected in all Rust programs out there. FWIW, using Guix it is very straightforward to build the rust toolchain fully bootstrapped starting from mrustc and gcc.

> Nobody wrote a C++ compiler for this purpose; they wrote a Rust compiler (mrustc) in C++.

Edited the comment

Re: Zed on Linux Is Here

#328

Earlier quoted context omitted.

Sure, but all of them are actually universal, so it doesn't matter which one you choose, unlike their being multiple regular package formats.

It seems to me the most neutral one is AppImage. Flatpak being the favorite of “not-Ubuntu” people and Snap being only preferred by Ubuntu…but still having a huge user base due to their enormous market share.

People don't prefer snap, they are forced into it.

Re: Zed on Linux Is Here

#329
post #88

Man, I'm conflicted. I mean, Zed works pretty damn well. So far my biggest annoyance with Zed though is that it's constantly trying to download language servers and other tools and run them. And sure, that's handy, but 1. I don't really want it, I'd much rather only use distribution-provided tools. 2. It doesn't work at all on NixOS, so it's just wasting its time and our bandwidth constantly downloading and trying to…

I really wish they would bundle up the basic Language Servers with the download (HTML, CSS, TypeScript) so it at least has parity with VSCode in this regard

Re: Zed on Linux Is Here

#330

However silly it is, I've always hated the aesthetics of VS Code. I know it's themeable but despite that the overall look and feel just isn't right on MacOS or Linux. That side bar drives me crazy. I find that out-of-the-box Zed is much prettier and feels more native than VS Code. But for a tool that we spend hours using each day, how it looks and makes you feel really matters. I am enjoying experimenting with Zed. I…

The first thing I do on any VS Code fresh install is to switch the sidebar to the right. Pure heresy for many people, I know. But I want my eyes to naturally land on code, not on a file tree.

Same here! Also, when it’s on the right toggling it doesn’t move the code panes left and right.
Post reply on HN