this post was submitted on 29 Nov 2024
5 points (54.7% liked)

Rust

6124 readers
19 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 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 3 weeks ago (5 children)

I have only skimmed the surface of learning Rust, but I am wondering what it has over Ada. The memory safety features that Rust emphasizes have been standard there for 40 years, and just as unglamorous compared to C++.

I tend to focus on scripting nowadays... R and Pyrhon... with the odd C++ for high-speed algorithms because it is popular. But is Rust merely a new face on Ada?

[–] LeFantome 14 points 3 weeks ago (1 children)

Rust is already dramatically more popular and widespread than ADA ever was ( outside the US military ). Devs that use Rust say they love it. I do not believe that is the rule for ADA.

Rust is also very well suited to extending existing C and C++ code bases. I do not know enough about ADA to compare but it is my sense that it is not as strong there.

There is no ADA in the Linux or Windows kernels.

[–] [email protected] 2 points 2 weeks ago

Well, I suppose the DoD association probably turned off a lot of people... but the language lived up to its promise of being a strict schoolmarm so if that is what people are looking for these days it is still an option. It can link with C, not sure about C++.I am not sure what being in the Linux or Windows kernels says other than reinforcement of the popularity contest... Windows is proprietary, and Rust being in Linux is hardly controversy-free.

Anyway, thanks for your thoughts. I also found this:

https://blog.adacore.com/should-i-choose-ada-spark-or-rust-over-c-c#%3A%7E%3Atext=Rust+pushes+memory+safety+very%2CThese+are+just+two+examples.

load more comments (3 replies)