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

Linux

48323 readers
919 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
393
submitted 4 months ago* (last edited 4 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.

you are viewing a single comment's thread
view the rest of the comments
[–] Mihies@programming.dev 1 points 4 months ago (11 children)

It's primarily about safety, not speed. Any C or C++ program should match the speed but not the correctness.

[–] eager_eagle@lemmy.world 14 points 4 months ago (10 children)

no, it's primarily about speed and resources because the comparison is often not against a hypothetical C/C++ alternative, but against an existing one that is slower and more resource intensive.

[–] vrighter@discuss.tchncs.de 3 points 4 months ago (9 children)

So they should say that it is written with performance in mind. I don't care how you achieved that. rust, c++, assembly, whatever.

Mention that it has very good collaborative editing.

Mention features.

[–] ParetoOptimalDev@lemmy.today 3 points 4 months ago (1 children)

So they should say that it is written with performance in mind. I don't care how you achieved that. rust, c++, assembly, whatever.

I care because performant and secure C++ is much harder to achieve while rust "shepherds" you towards it.

See https://nibblestew.blogspot.com/2020/03/its-not-what-programming-languages-do.html

[–] vrighter@discuss.tchncs.de 1 points 4 months ago (1 children)

I don't care how easy it is for the developer. And modern c++ is slightly harder than rust, but not all that difficult to get right with smart pointers and iterators etc.

[–] ParetoOptimalDev@lemmy.today 3 points 4 months ago (1 children)

If you care about your software being stable and secure, you should care about how easy the programming language used makes and encourages that.

People aren't robots and make mistakes often.

[–] vrighter@discuss.tchncs.de 1 points 4 months ago

translating readable, maintainable code to an unmaintanable mess to solve a couple of issues thit might not be there in the first place, is not so much a winning proposition.

An os? sure. A text editor? not so much

load more comments (7 replies)
load more comments (7 replies)
load more comments (7 replies)