306
submitted 10 months ago by joojmachine@lemmy.ml to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] veniasilente@lemm.ee 67 points 10 months ago

Oh, we heard, Rust is the greatest invention since sliced bread. We heard it already. Like 65534 times.

[-] Zucca@sopuli.xyz 58 points 10 months ago

Like 65534 times.

So close to full 16-bit max. So close...

[-] phoenixz@lemmy.ca 16 points 10 months ago

Yeah I figured he was going purposely for a memory overflow

[-] veniasilente@lemm.ee 10 points 10 months ago

Yeah we only need 2 brainRusts more to start seeing some fun.

[-] Zucca@sopuli.xyz 2 points 10 months ago

Gah. I should have stated "I see what you did there." instead. ;)

[-] urska@lemmy.ca 27 points 10 months ago

Aviation, Health, Space and Car industry have only 3 certified languages that they use. Ada, C and C++. Ada is dying because there are way less young engineers who want to invest their future learning it. Then there is C and C++ but they dont offer memory safety and its really hard to master and its really hard and long (thats what she said) to certify the code when being audited for safety by a tier company.

Rust solves by default (no need to review) like 2/3 of the standard requirements those industries have and are that found in C and C++. Rust will soon be approved in this group by the car industry.

Im not a rust fan, but I have 3 things to say about rust.

  • Its fun to program like C++ having the peace of mind knowing the compiler is there helping.
  • You dont feel like youre defusing a bomb like when writing C.
  • Even though its a fun language to write, its also really hard to master, itd say 2 years to be really proficient with it. There is just so much knowledge.
[-] anton@lemmy.blahaj.zone 14 points 10 months ago

Aviation, Health, Space and Car industry have only 3 certified languages that they use. Ada, C and C++.

Rust is automotive certified since over half a year. https://ferrous-systems.com/blog/officially-qualified-ferrocene

[-] caseyweederman@lemmy.ca 4 points 10 months ago

Could you explain the "no need to review" part? I do keep hearing good things about Rust.

[-] urska@lemmy.ca 5 points 10 months ago* (last edited 10 months ago)

These industries hire third parties to review c and c++ line per line to make sure it's memory safe. Rust by default forces you to write memory safe code, otherwise it won't even compile. The rust compiler tells where is the problem and what it expects. No only for basic Type errors but also for concurrent code.

[-] caseyweederman@lemmy.ca 1 points 10 months ago

Is it not possible to build that functionality into C/++ compilers?

[-] urska@lemmy.ca 2 points 10 months ago

its the way the language was built. Im not sure its possible without breaking C/C++ which have like 35 years + in the making. Also these concepts are have little to do with programing and more architectural designs. The designers are real engineers working on difficult concepts. All big brains tbh

[-] imgcat@lemmy.ml -1 points 10 months ago

Ada SPARK is not dying at all, it's growing. It is used where formal proof is required like and Rust is nowhere near that!

[-] corsicanguppy@lemmy.ca -4 points 10 months ago
  • You dont feel like youre defusing a bomb like when writing C.

Whoa, Skippy. It's not saving the world, it's just coding properly.

[-] urska@lemmy.ca 4 points 10 months ago

Well no, those companies deal with really important subjects. Airplanes, car safety, chemotherapy machines, missiles, etc. Have a good day

[-] drwho@beehaw.org 18 points 10 months ago

I wonder how many folks are just refusing to use Rust to spite the Rust Evangelism Strike Team.

[-] Templa@beehaw.org 8 points 10 months ago

Rustaceans 🤝 Vegans

[-] delirious_owl@discuss.online 2 points 10 months ago

I wait until cargo is actually secure.

[-] uhN0id@programming.dev 1 points 10 months ago
[-] delirious_owl@discuss.online 5 points 10 months ago

It doesn't verify downloads are authentic. Its an issue with almost all programming dependency managers besides mature ones like Java's Maven.

Python has been working with Facebook to fix this in pip for like a decade.

But obviously it shows that rust isn't so concerned about security.

[-] uhN0id@programming.dev 3 points 10 months ago

Ah interesting. Thank you, you're giving me something to read about that I never considered for crates. I guess I just assumed because of the scrutiny Rust was built with and continues to go through that it would also apply to verifying crates. I have definitely heard about it with NPM so it should have been obvious that it might not be any different for crates. Thanks again!

[-] swab148@startrek.website 1 points 10 months ago

I wish there was a synonym for "evangelism" that began with a "u".

[-] Tlaloc_Temporal@lemmy.ca 3 points 10 months ago

Urge? Kinda dark and villainous feeling.

Upgrade! "The Rust Upgrade Strike Team! Upgrade Today!" Sounds very propagandistic, almost doublespeak.

Ultimatum? Mildly threatening.

Utopia? It has the self righteous feel.

Uhvangelism, hurhur.

Universalism?

[-] Templa@beehaw.org 2 points 10 months ago

I giggled, thank you.

[-] doona@aussie.zone 13 points 10 months ago

I hate it when people talk about new technologies 🤬

[-] veniasilente@lemm.ee 10 points 10 months ago

Same. We should head back to ICQ!

[-] leopold@lemmy.kde.social 8 points 10 months ago

eh, still beats Discord as far as I'm concerned

[-] VerseAndVermin@lemmy.world 4 points 10 months ago

Yeah, but no one will hop on irc or mumble to hang out these days.

[-] veniasilente@lemm.ee 2 points 10 months ago

Not with that attitude!

I'm already on IRC and XMPP. be the change you want to see.

[-] uhN0id@programming.dev 1 points 10 months ago

God I miss the IRC days

this post was submitted on 31 May 2024
306 points (98.4% liked)

Linux

53211 readers
839 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