this post was submitted on 22 Aug 2024
38 points (88.0% liked)

Programming

17489 readers
65 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
 

Is the new #zed editor mostly hype rn?

I can believe it’s good and cool ( built in graphics and collab seem to me like good ideas).

But as someone who happily stayed with sublime (with LSPs a likely game changer) …

takes like “it’s fast!”, “LSP!”, “it now has snippets!” … along with people telling me it has a plug-in system, but doesn’t (cf python/lua runtimes of sublime/nvim) give me massive hype vibes and honestly just feels very “2020s-tech”.

#programming

@programming

top 24 comments
sorted by: hot top controversial new old
[–] [email protected] 31 points 3 months ago (1 children)

I tried it briefly. I like the idea of an alternative to VS code, that's not some inefficient javascript electron app. But the focus of zed seems to be on collaboration in cloud and also pushing LLM tools. That's not what I'm looking for. I disliked that it was impossible to hide the "log in to github" button (I don't want to log into an editor). Irked me the wrong way.

[–] [email protected] 10 points 3 months ago* (last edited 3 months ago) (1 children)

It drives me nuts that there's no way to close a folder once you opened it. There's no way to just edit a file without making it a "project". In my mind that's a weird design decision (which is probably rooted in weird fundamental ideas) and gives me no warm & fuzzy feeling about what direction it will take in the future.

[–] moomoomoo309 2 points 3 months ago (1 children)

That's not too weird, until IntelliJ added its lite editor, it was the same way for many years.

[–] [email protected] 4 points 3 months ago* (last edited 3 months ago)

IntelliJ is an all-out full IDE in the tradition of the old Visual Studio or Borland IDE:s, so it makes sense there. Zed is ostensibly a text editor in the same niche as VS Code, vim and Sublime, where I expect to be able to just open a single file and edit it without any bigger investment.

I typically have both an IDE and a text editor installed, for different use cases. But Zed can never replace IntelliJ and because of this design choice it can't replace VS Code/vim/Notepad++ either.

[–] [email protected] 21 points 3 months ago (2 children)

i have no reason to switch from vim to anything else.

[–] [email protected] 12 points 3 months ago

Neovim maybe? 😉

[–] [email protected] 11 points 3 months ago (1 children)

Helix for a better default config. But you’ve probably already set up vim the way you like it.

[–] madeindjs 4 points 3 months ago

I tried Helix but my muscle memory around Vim movements was a non - starter for me. Also , Helix wasn't working out of the box with Vue.JS (it needs to be tweaked a bit.

So I gave a try to LazyVIM and everything works almost as is. I'll never look back.

[–] [email protected] 16 points 3 months ago

@maegul @programming I think there is no general answer, as every developer has different priorities.

Zed looks and feels much better than VSCode to me. Also a lot is working out of the box, where you need to install Plugins in VSCode.

But in both Zed and VSCode I miss the good git support of IntelliJ and the overall intelligence of the Jetbrains IDEs. It feels like IntelliJ knows what I'm doing there at 90%, Zed knows like 60% and VSCode like 50%.

[–] [email protected] 14 points 3 months ago (2 children)

Well, yes, it currently lacks several basic things. But remote development is a killer feature to me and they seem to be prioritizing it.

[–] [email protected] 11 points 3 months ago (1 children)

However it should be noted that the remote development connection is via their servers, which makes it somewhat less useful

[–] [email protected] 3 points 3 months ago

For now. But what I can say from my experience with VS Code is that their tunnel connection is far more stable than a direct SSH one; a tunnel also lets you punch through the workplace VPN, so that's what I keep using.

[–] [email protected] 5 points 3 months ago

But remote development is a killer feature to me and they seem to be prioritizing it.

Which is definitely interesting and cool. (Also, before this AI "moment", their main selling point, along with taking graphics more seriously, and rust I suppose).

[–] [email protected] 8 points 3 months ago (1 children)

Yes.it is hype. Because it is a product still in development. Windows is not yet officially supported, and they announced Linux like one month ago.

It still lacks some basic features. However, what they already have looks good, it is much more performant that vscode.

[–] [email protected] 14 points 3 months ago

vscode without any extension is very performant.

It's easy to get better performance when you don't have features.

[–] [email protected] 6 points 3 months ago

@programming

I get that peeps are coming from VSCode and I support competition with MS’s EEE of software dev.

But, like, bloat and corporate capture were always the trade offs with VSCode … you all knew that right?

[–] [email protected] 3 points 3 months ago

Zed invented tree-sitter which is a great feature. But since tree-sitter is open source it's also available in neovim and helix.

[–] [email protected] 3 points 3 months ago (1 children)

I'm a fellow Sublime user and recently got excited about trying Zed. it's a good editor and fairly similar to Sublime, but lacked some language support and the plugins are still very few compared to other mature editors. also, it's not quite as configurable as Sublime, for example choosing the LSP or linters. but it's still in early development with frequent updates so I keep it installed and watch the releases

[–] [email protected] 0 points 3 months ago (1 children)

@eldereko

> he plugins are still very few compared to other mature editors. also, it’s not quite as configurable as Sublime

AFAIU, it doesn't have a plugin runtime, which is fairly glaring to me (but maybe not for devs these days).

This is what triggered my "is it hype" thought, as I've seen people say it does but it's in rust or something.

And I feel like many fail to realise how hard it is to build a new editor with everything we take for granted these days.

Fediverse & typst similarly.

[–] [email protected] 1 points 3 months ago

it does have plugins, or "extensions" rather, and yes they are written in rust and compiled to webassembly. but currently there are still very few of them. although it's a growing list

[–] [email protected] 2 points 3 months ago

I'm not sure when something counts as hype vibes and what the problem with that would be.

It's a pretty good editor, way faster than VSCode on my machine, but I'm also missing a bunch of features. Those seem unimportant enough compared to the speed for now, so I've switched, but switching editors is easy, so I might switch back later. And if other editors get on my radar, I might try them for a bit too. Hype or not, no real harm done.

[–] [email protected] 2 points 3 months ago (1 children)

My device doesn't have a graphics card and only has two threads, so I guess it's just for higher end devices?

[–] [email protected] 4 points 3 months ago* (last edited 3 months ago)

Unfortunately it requires vulkan (it says 1.3, but because vulkan is based on extensions so it probably doesn't require the full 1.3). So if you have the Intel GMA 950 that's in the motherboard for your Pentium 4 HT is not supported. But I'm confident that an AMD HD 6000 from 2010 with the Mesa driver "terakan" is enough to run it. And theoretically one could implement vulkan even for an HD 2000 from 2007, but it's an unreasonable effort.

If they made an opengl backend, you would be golden, as the Mesa driver i915 implements opengl 2.1 for the GMA 950, and it's definitely enough to run an editor

P.s.: and I sure did not spend the last 30 minutes looking up vulkan hardware

[–] [email protected] 2 points 3 months ago* (last edited 3 months ago)

I kinda alternate between vscode and vim. Just depending on how I feel. Never really thought of branching out as other things feel too much. Like I tried pycharm and was not sure where the community stuff ended and where the professional started (free in uni). Netbeans was alright for a class. Sublime was cool, but I didn't do anything special.