this post was submitted on 19 Dec 2024
18 points (100.0% liked)

Programming

13405 readers
2 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

Even through it has some flaws, e.g. it's not fully memory safe (there are some programming languages that are even safer, like Ada)?

you are viewing a single comment's thread
view the rest of the comments
[–] BearOfaTime@lemm.ee 55 points 1 week ago (2 children)

Overused? According to who?

[–] akkajdh999@programming.dev 11 points 1 week ago

More like "overhyped"

[–] ryujin470@fedia.io 3 points 1 week ago (2 children)

It has been used more than needed

[–] WilloftheWest@feddit.uk 41 points 1 week ago (1 children)
[–] ryujin470@fedia.io 3 points 1 week ago (3 children)

Just in my opinion. It's probably a trending programming language right now. More loved than C or C++ by some developers

[–] jarfil@beehaw.org 3 points 6 days ago

The older something is, the more people grow used to it, but also have had a chance to get burned by it:

  • C was released in 1972 (52 years), C99 was released in 1999 (25 years), hasn't changed much since
  • C++ was released in 1998 (26 years), there are 7 versions of C++ with notable changes
  • Rust was released in 2015 (9 years), it's still on the same 1.x version implying backwards compatibility

Rust was created to fix some of the problems C and C++ have had for decades, it's only logical that people like it more... for now.

[–] deegeese@sopuli.xyz 45 points 1 week ago

You’re upset that new technology is displacing a 50 year old technology with a ton of well known flaws?

[–] magic_lobster_party@fedia.io 38 points 1 week ago (1 children)

It’s a hyped language because it solves many problems that has persisted with C and C++ - without having to rely on garbage collection.

If anything, it’s underused. Not that I believe everything should be rewritten in Rust. That’s just stupid.

[–] bluGill@fedia.io 6 points 1 week ago (1 children)

As a C++ developer Rust's borrow checker is very interesting - it promises to solve my issues with C++ without the issues that make other languages (ie Java, Python...) have in the real world. (remember we choose C++ for a reason, Java isn't correct for our application - if Java is correct you should use that instead)

[–] jansk@beehaw.org 3 points 1 week ago (1 children)

If you learn Rust, you'll find that you'd choose it over C/++ even without the brrow checker. Every little part of the development experience is just so much better.

[–] bluGill@fedia.io 2 points 1 week ago

Maybe. I have millions of lines of c++ and making rust work with them will often be more work than just implementing the feature in c++

[–] myersguy@lemmy.simpl.website 19 points 1 week ago

How does one qualify how much a language needs to be used?

Are you saying Rust is being used in places that you feel C/C++ should be used, and you don't think Rust belongs? Or maybe you are saying Rust is being used in places where C/C++ are not typically used, and you don't feel it belongs there?

The closest thing to context you've given is that you feel Rust has flaws (all languages do), and that Ada is perhaps safer. It's really hard to give any kind of answer without a properly fleshed out question.