this post was submitted on 09 Mar 2024
48 points (100.0% liked)

Rust

5999 readers
20 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

[email protected]

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 17 points 8 months ago (2 children)
  • We see no realistic path for an evolution of C++ into a language with rigorous memory safety guarantees that include temporal safety.
  • A large-scale rewrite of all existing C++ code into a different, memory-safe language appears very difficult and will likely remain impractical.

Tough spot to be in, but I'm glad there are more and more people calling out for a transition away from C/C++. One can only hope that Rust doesn't become the new C++ aka the garbage dump of programming languages. Every large player wanted to write C++ in their own way, so they added it to the language and now we have this... thing.

CC BY-NC-SA 4.0

[–] [email protected] 6 points 8 months ago (2 children)

In the long run, I wonder if rust will spawn a family of new memory-safe languages.

[–] [email protected] 6 points 8 months ago

Statically typed, compiled, memory safe languages? I can live with that 👌

CC BY-NC-SA 4.0

[–] [email protected] 6 points 8 months ago (1 children)

I am also very interested in seeing what the next generation of Rust-inspired languages will look like, and not because I am dissatisfied with Rust today. Rust has significantly raised the bar of how a good programming needs to work and any new language in the systems programming area (and beyond) will inevitably be compared to it.

[–] [email protected] 2 points 8 months ago

Finally, the victory of the ML family is at hand! Just like RISC over CISC. It just took a long time.

[–] [email protected] 4 points 8 months ago

Unfortuately c++ interoperability is hard. I wouldn't write c++ without vector and other containers (templates). Or classes complete with inheiritance (rarely multiple) and thus name mangeling. I now have millions of lines of that stuff and it is hard to write anything else because it has to mix.