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

Linux

48008 readers
1194 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
397
submitted 3 months ago* (last edited 3 months ago) by ksp@jlai.lu to c/linux@lemmy.ml
 

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
[–] bionicjoey@lemmy.ca 197 points 3 months ago (22 children)

Installer is piping curl into shell

I thought we were past this as a society 😔

[–] krolden@lemmy.ml 67 points 3 months ago (1 children)

Not until after you convince these projects to stop using discord

load more comments (1 replies)
[–] eager_eagle@lemmy.world 49 points 3 months ago (1 children)
[–] cerement@slrpnk.net 59 points 3 months ago* (last edited 3 months ago) (3 children)

ooh, available for “x86_65” on Alpine

(and they’ve fixed that now)

[–] bitcrafter@programming.dev 38 points 3 months ago* (last edited 3 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)
[–] eager_eagle@lemmy.world 23 points 3 months ago (4 children)

imagine the nightmare of writing a 65 bit instruction set

load more comments (4 replies)
[–] kazaika@lemmy.world 27 points 3 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)
[–] wfh@lemm.ee 16 points 3 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)
[–] boredsquirrel@slrpnk.net 141 points 3 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!

[–] savvywolf@pawb.social 37 points 3 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.

[–] eager_eagle@lemmy.world 31 points 3 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)
[–] MagisterSieran@discuss.tchncs.de 123 points 3 months ago (2 children)

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

[–] cerement@slrpnk.net 61 points 3 months ago* (last edited 3 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)

[–] ksp@jlai.lu 13 points 3 months ago

My bad, it's up now

[–] cerement@slrpnk.net 50 points 3 months ago (2 children)
[–] blackboxwarrior@lemmy.ml 34 points 3 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.

[–] potosi@lemmy.dbzer0.com 14 points 3 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)
[–] tabular@lemmy.world 29 points 3 months ago (1 children)
[–] coolmojo@lemmy.world 46 points 3 months ago (7 children)

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

[–] electricprism@lemmy.ml 17 points 3 months ago (2 children)

New Editor, by Atom Devs, Rust

load more comments (2 replies)
[–] gravitas_deficiency@sh.itjust.works 14 points 3 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)
[–] aramus@lemmy.world 29 points 3 months ago (5 children)

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

[–] FlorianSimon@sh.itjust.works 51 points 3 months 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)
[–] ryannathans@aussie.zone 38 points 3 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

[–] fruitycoder@sh.itjust.works 18 points 3 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)
[–] naught@sh.itjust.works 16 points 3 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)
[–] 1984@lemmy.today 23 points 3 months ago* (last edited 3 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.

[–] possiblylinux127@lemmy.zip 12 points 3 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)
[–] mogoh@lemmy.ml 20 points 3 months ago (2 children)

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

[–] priapus@sh.itjust.works 23 points 3 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)
[–] AVincentInSpace@pawb.social 19 points 3 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)
[–] markstos@lemmy.world 17 points 3 months ago (7 children)

Anyone care to compare this with Helix?

[–] Bolt@lemmy.world 19 points 3 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.

[–] hemko@lemmy.dbzer0.com 11 points 3 months ago* (last edited 3 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

[–] micka190@lemmy.world 15 points 3 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)
[–] peppy@lemmy.ml 14 points 3 months ago (2 children)
load more comments (2 replies)
load more comments
view more: next ›