• jdnewmil@lemmy.ca
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    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@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      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.

    • BitSound@lemmy.worldOP
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      From what I understand, Ada does not have an equivalent to Rust’s borrow checker. There’s efforts to replicate that for Ada, but it’s not there yet.