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

Linux

46775 readers
1926 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
392
submitted 1 month ago* (last edited 1 month 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] 188 points 1 month ago (10 children)

Installer is piping curl into shell

I thought we were past this as a society 😔

[–] [email protected] 62 points 1 month ago (1 children)

Not until after you convince these projects to stop using discord

load more comments (1 replies)
[–] [email protected] 49 points 1 month ago (1 children)
[–] [email protected] 58 points 1 month ago* (last edited 1 month ago) (3 children)

ooh, available for “x86_65” on Alpine

(and they’ve fixed that now)

[–] [email protected] 38 points 1 month ago* (last edited 1 month 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] 36 points 1 month ago (1 children)
[–] [email protected] 15 points 1 month ago

Plus ultra!

[–] [email protected] 23 points 1 month ago (4 children)

imagine the nightmare of writing a 65 bit instruction set

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

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

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

A curl piped into a shell or some unofficial packages from various distros.

At this point I don't get why these projects are not Flatpak-first.

load more comments (7 replies)
load more comments (6 replies)
[–] [email protected] 136 points 1 month 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] 35 points 1 month 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] 31 points 1 month 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] 120 points 1 month ago (2 children)

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

[–] [email protected] 60 points 1 month ago* (last edited 1 month 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] 13 points 1 month ago

My bad, it's up now

[–] [email protected] 47 points 1 month ago (2 children)
[–] priapus 15 points 1 month ago (4 children)
load more comments (4 replies)
load more comments (1 replies)
[–] [email protected] 33 points 1 month ago (9 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] 13 points 1 month ago

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

load more comments (8 replies)
[–] [email protected] 29 points 1 month ago (1 children)
[–] [email protected] 46 points 1 month ago (7 children)

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

[–] [email protected] 17 points 1 month ago (2 children)

New Editor, by Atom Devs, Rust

load more comments (2 replies)
[–] gravitas_deficiency 14 points 1 month ago (6 children)

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

load more comments (6 replies)
load more comments (5 replies)
[–] [email protected] 29 points 1 month ago (5 children)

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

[–] FlorianSimon 50 points 1 month ago (5 children)

Probably because it's more efficient. GPUs are designed to render things, which editors do. In a text editor, you're effectively rendering fonts over a fixed background, which I assume is pretty efficient using the GPU.

We're not talking about crazy 3D effects here.

Yay to battery savings!

load more comments (5 replies)
[–] [email protected] 38 points 1 month 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

[–] fruitycoder 18 points 1 month 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)
[–] sorrybookbroke 17 points 1 month ago (1 children)
load more comments (1 replies)
[–] naught 16 points 1 month 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] 23 points 1 month ago* (last edited 1 month 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] 12 points 1 month 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] 19 points 1 month 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] 19 points 1 month ago (2 children)

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

[–] priapus 23 points 1 month 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] 17 points 1 month ago (7 children)

Anyone care to compare this with Helix?

[–] [email protected] 19 points 1 month 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] 11 points 1 month ago* (last edited 1 month ago) (7 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] 15 points 1 month 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 (6 replies)
load more comments (2 replies)
load more comments (6 replies)
[–] [email protected] 14 points 1 month ago (2 children)
load more comments (2 replies)
load more comments
view more: next ›