this post was submitted on 10 Jul 2024
395 points (95.0% liked)

Linux

48348 readers
447 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
395
submitted 4 months ago* (last edited 4 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] 197 points 4 months ago (22 children)

Installer is piping curl into shell

I thought we were past this as a society 😔

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

Not until after you convince these projects to stop using discord

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

ooh, available for “x86_65” on Alpine

(and they’ve fixed that now)

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

Plus ultra!

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

imagine the nightmare of writing a 65 bit instruction set

load more comments (4 replies)
[–] [email protected] 27 points 4 months 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] 16 points 4 months ago (6 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 (6 replies)
load more comments (18 replies)
[–] [email protected] 141 points 4 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] 37 points 4 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] 31 points 4 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] 121 points 4 months ago (2 children)

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

[–] [email protected] 61 points 4 months ago* (last edited 4 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] 13 points 4 months ago

My bad, it's up now

[–] [email protected] 50 points 4 months ago (2 children)
[–] [email protected] 34 points 4 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 4 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] 29 points 4 months ago (1 children)
[–] [email protected] 46 points 4 months ago (7 children)

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

[–] [email protected] 17 points 4 months ago (2 children)

New Editor, by Atom Devs, Rust

load more comments (2 replies)
[–] [email protected] 14 points 4 months 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 4 months ago (5 children)

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

[–] [email protected] 38 points 4 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] 18 points 4 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] 17 points 4 months ago (1 children)
load more comments (1 replies)
[–] [email protected] 16 points 4 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] 23 points 4 months ago* (last edited 4 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] 12 points 4 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] 20 points 4 months ago (2 children)

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

[–] [email protected] 23 points 4 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] 19 points 4 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 4 months ago (7 children)

Anyone care to compare this with Helix?

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