this post was submitted on 10 Jul 2024
397 points (95.0% liked)
Linux
47976 readers
1053 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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It's primarily about safety, not speed. Any C or C++ program should match the speed but not the correctness.
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.
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.
Everone claims their software is fast. When stating that it is written in a native language it is actually believable.
but it didn't do jack shit to help me believe that. Because they did not say that that was the goal. So there was no credibility to affect in the first place.
Also, your argument does not make sense anyway. As a native language, due to some extra copying needed and some runtime checks that cannot be elided, it is slower than c++. It can be almost as fast, really close, but ever so slightly slower.
Electron is written in c++. A native language. A native language faster than rust (we're talking about speed not safety here). And yet, it is the canonical example of "bloated and slow". If you were to rewrite electron in rust, it'd be safer, but also at least just as slow.
So if the editor really is faster, it's not because the code was written in rust. It's because the devs are writing better code. That's why just saying it's written in rust is useless.