324
submitted 6 months ago by petsoi@discuss.tchncs.de to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] radiant_bloom@lemm.ee 9 points 6 months ago

Who cares ? What matters is the features and how fast the app is. Not what language was used to achieve that.

[-] mosiacmango@lemm.ee 54 points 6 months ago* (last edited 6 months ago)

Rust is wildly fast. Learning that it is being used for a program is good to know if you care about speed. If you read the article, it even addresses your exact critiques:

Moreover, Rust has demonstrated superior performance compared to JavaScript add-ons, resulting in a quicker and more responsive Thunderbird. Furthermore, the integration of Rust into Thunderbird will be facilitated by the fact that it is already utilized in Firefox, enabling Thunderbird to leverage existing infrastructure for testing and continuous integration.

So not only with thunderbird be faster because Rust is faster than JavaScript, but it eliminates 3rd party addons by being native which also further increases speed. Lastly, development time for new features and improvements is faster because they can now use using the mature tooling that Mozilla has for Rust.

So yeah, good to know its using Rust now.

[-] radiant_bloom@lemm.ee 1 points 6 months ago

The improvement here is switching from interpreted to compiled. It could have been C, Zig, Odin, or even C++ (but thank Satan it isn’t C++)

I’m not sure I understand why people like Rust over C, although I don’t have that much experience in enterprise coding. I’m generally distrustful of languages without a standardized specification, and I don’t really like that Rust has been added to the Linux Kernel. Torvalds giving in to public opinion isn’t something I thought I’d live to see…

I get the segmentation fault thing, but to be blunt, that sounds like a skill issue more than an actual computer science problem.

Maybe if things were less rushed and quality control was regarded more highly, we wouldn’t have such insanities as an email client (or an anything client) written in JavaScript in the first place.

Rust is likely going to suffer the same problem as JS, where people indirectly include 6,000 crates and end up with 30 critical CVEs in their email client that they can’t even fix because the affected crate was abandoned 5 years ago…

[-] ProgrammingSocks@pawb.social 1 points 6 months ago

I’m not sure I understand why people like Rust over C, although I don’t have that much experience in enterprise coding.

I'd actually say that Rust is more popular in open-source projects. The reason people like it is because it's WAY safer than C or C++ while being literally just as fast if not faster. I'm still in the process of learning it though so I can't speak to your other points.

It is worth mentioning that the White House recommends Rust over C/C++ due to its very notable safety advantage over classic languages.

[-] ricdeh@lemmy.world 2 points 6 months ago

How can Rust be faster than C? What is faster than unabstracted direct memory management?

[-] ReversalHatchery@beehaw.org 1 points 6 months ago

Somehow it sounds quite weird that the white house has such a recommendation. NIST, or the NSA? That would be easier to understand because they deal with code and algorithms but the white house?

[-] ProgrammingSocks@pawb.social 1 points 6 months ago

I don't know, I'm not american, I just read the news about it.

[-] ReversalHatchery@beehaw.org 1 points 5 months ago

A few hours later I have read it too, possibly the same website. Still weird.

load more comments (13 replies)
load more comments (15 replies)
load more comments (20 replies)
this post was submitted on 21 Apr 2024
324 points (95.0% liked)

Linux

47838 readers
1879 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