this post was submitted on 10 Jul 2024
266 points (95.2% liked)

Linux

48689 readers
440 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
266
submitted 5 months ago* (last edited 5 months ago) by [email protected] to c/[email protected]
 

Zed is a modern open-source code editor, built from the ground up in Rust with a GPU-accelerated renderer.

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 147 points 5 months ago (28 children)

Installer is piping curl into shell

I thought we were past this as a society 😔

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

Not until after you convince these projects to stop using discord

load more comments (1 replies)
[–] [email protected] 34 points 5 months ago (1 children)
[–] [email protected] 44 points 5 months ago* (last edited 5 months ago) (3 children)

ooh, available for “x86_65” on Alpine

(and they’ve fixed that now)

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

Plus ultra!

[–] [email protected] 24 points 5 months ago* (last edited 5 months ago) (1 children)

Have you really not heard of it? It is a new architecture that is a bit better than x64_64.

load more comments (1 replies)
[–] [email protected] 18 points 5 months ago (3 children)

imagine the nightmare of writing a 65 bit instruction set

load more comments (3 replies)
[–] [email protected] 22 points 5 months ago (2 children)

I mean its already in the nix repos as well as homebrew which means its essentially taken care of

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

So it should say hey check your distros package repos first.

load more comments (1 replies)
[–] [email protected] 8 points 5 months ago (2 children)

I've been using it with the nix package manager. It's awesome how easy nix works

load more comments (2 replies)
load more comments (25 replies)
[–] [email protected] 99 points 5 months ago (2 children)

There ought to be a rule that posts about software releases have to say what it is.

[–] [email protected] 48 points 5 months ago* (last edited 5 months ago)

Zed (a high-performance code editor announced in 2022), not to be confused with Xed (a small and lightweight text editor released in 2016)

EDIT: or Yed (a small and simple terminal editor core)

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

My bad, it's up now

[–] [email protected] 92 points 5 months ago (14 children)

https://github.com/zed-industries/zed/issues/7054#issuecomment-1916315391

They auto download binaries, even proprietary ones, unsigned and without user interaction.

YEAH security!

[–] [email protected] 18 points 5 months ago (5 children)

So they're doing the equivalent of VSCode(ium)'s extensions, but installing them automatically and not giving you the option to use alternatives?

Blegh.

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

Why are copilot and some other functions not extensions?

tl;dr: General purpose extensions are not even implemented yet

zed is very much an early stages editor; it'll look very different a year from now

load more comments (4 replies)
load more comments (13 replies)
[–] [email protected] 38 points 5 months ago (2 children)
[–] [email protected] 23 points 5 months ago (1 children)
[–] [email protected] 43 points 5 months ago (7 children)

Integrated Development Environment (IDE) from the makers of Atom. It is written in rust.

[–] [email protected] 15 points 5 months ago (2 children)

New Editor, by Atom Devs, Rust

load more comments (2 replies)
[–] [email protected] 11 points 5 months ago (1 children)

Oh man I LOVED Atom. Giving this new one a test drive now :)

[–] [email protected] 8 points 5 months ago (4 children)

I think Zed is quite different from Atom. But Pulsar might be your thing. A direct fork of the last release of Atom being developed by ex Atom developers :)

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

I just mean that I liked the work that the devs did on Atom, which makes me want to try this one out too

load more comments (1 replies)
load more comments (3 replies)
load more comments (5 replies)
[–] [email protected] 20 points 5 months ago (11 children)

I am BEGGING for any editor other than VSCode to have decent remote development. I want to go open source but everything I've tried (remote-nvim, distant, tramp, vscodium, etc.) just doesn't cut it.

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

What in hell is remote development? You mean openssh and vim, right?

load more comments (2 replies)
load more comments (10 replies)
[–] [email protected] 19 points 5 months ago (5 children)

I still don't understand why I should need GPU acceleration for my fucking TEXT EDITOR

[–] [email protected] 20 points 5 months ago (6 children)

Same reason you need it for your terminal (see kitty terminal). It's surprisingly slow to cpu render text, gpu rendering is more power efficient and far more responsive

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

It was surprising how gpu accelerated rendering helped read logs better. Niche case, but better was better.

load more comments (3 replies)
load more comments (5 replies)
[–] [email protected] 16 points 5 months ago (1 children)
load more comments (1 replies)
[–] [email protected] 10 points 5 months ago (5 children)

I mean, it should be clear. Smooth and fast and snappy. If you don't want that, use neovim like me :)

load more comments (5 replies)
load more comments (1 replies)
[–] [email protected] 19 points 5 months ago (1 children)

I still do not understand why Zed makes such a big deal about being GPU accelerated when you'll be hard pressed to find a single text editor nowadays that isn't.

load more comments (1 replies)
[–] [email protected] 17 points 5 months ago (2 children)

Interesting project, how ever it will be hard to compete with existing editors and its plugin eco-systems.

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

It supports LSPs, and has treesitter syntax highlighting and git integration which honestly makes it 90% of the way there already

load more comments (3 replies)
load more comments (1 replies)
[–] [email protected] 16 points 5 months ago* (last edited 5 months ago) (2 children)

I can see the beginning of something truly great in this editor. It's going to become better than VS code in a year.

It's already great for some languages like Go and Rust.

[–] [email protected] 8 points 5 months ago (2 children)

VScode is proprietary and slow. If you are using something like that you should use VScodium

load more comments (2 replies)
load more comments (1 replies)
[–] [email protected] 13 points 5 months ago (7 children)

Anyone care to compare this with Helix?

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

Very first impressions since I literally just downloaded before writing this, and haven't read the manual, I may change my mind with more experience.

  • It's incredibly snappy, to my eyes as fast as Helix.
  • A lot of stuff that took me a while to figure out in VS Code was immediately obvious. How to toggle inlay hints for Rust? Parameter Icon > Inlay Hints (with the keyboard shortcut there for easy toggling).
  • Interactive is generally intuitive because it seems pretty permissive. Tab vs Enter to autocomplete? Either! ctrl-shift-Z vs ctrl-Y to redo? Same thing!
  • After being so used to Helix I often reach for keybinds that don't exist. I might have to learn Vim keybinds because I'm definitely going to keep trying Zed.
  • Not sure how I feel about what seems to be an inline discord-like chat/voice-call feature.

Going to check out if there's git integration, because I couldn't easily find it.

[–] [email protected] 9 points 5 months ago* (last edited 5 months ago) (5 children)

Going to check out if there's git integration, because I couldn't easily find it.

Asking this because I'm noob, not elitist ass: Why a git integration in ide instead of using the cli? I've been working only on few projects where git is used, but the cli seems to be a ton easier to understand how to work with than the git integration in vscode which I discarded after few attempts to use

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

Depends on the features.

Git has some counterintuitive commands for some commands you may want to do when you want to quickly do something. Being able to click a button and have the IDE remember the syntax for you is nice.

Some IDEs have extra non-native Git features like have inlined "git blame" outputs as you edit (easily see a commit message per-line, see who changed what, etc.), better diff/merge tooling (JetBrain's merge tool comes to mind), being able to revert parts of the file instead of the whole file, etc.

the git integration in vscode which I discarded after few attempts to use

I'm going to be honest, I don't really like VS Code's Git integration either. I find it clunky and opinionated with shitty opinions.

load more comments (1 replies)
load more comments (4 replies)
load more comments (2 replies)
[–] [email protected] 7 points 5 months ago

Zed has a lot more features and is GUI-based. Helix is more focused and is CLI-based. I think a more direct comparison would be with VSCode(ium).

load more comments (5 replies)
[–] [email protected] 8 points 5 months ago (1 children)

Zed seems cool, but not much better than other options. I am still kind of thrown off by the immediate GH/CoPilot integration. Am I the an old man left in the caves of feeling that I don't need the AI help?

load more comments (1 replies)
[–] [email protected] 7 points 5 months ago (4 children)

I tried saving to a file that required root and it didn't give any prompt to enter the password. On VSCodium normally if you are trying to write to a file that requires sudo then it prompts you.

Is there a way to save to root files with Zed?

load more comments (4 replies)
load more comments
view more: next ›