• Khleedril@cyberplace.social
    link
    fedilink
    arrow-up
    0
    ·
    2 days ago

    @davidgro The way that #Rust guards memory is completely different to the way Java or Basic does. Rust is a fully compiled language suitable for systems programming, and the memory protection all happens at compile time; the runtime actually gains speed through the compilation process, rather than having the memory protection slow it down.

    The real difference is that the Rust compiler actually reads into the code it is compiling, rather than just making a mechanical translation.

    • davidgro@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 days ago

      That’s true, it is a very different paradigm.
      I wouldn’t go so far as to say that nobody thought it possible before Rust, but I agree it’s much more effective and performant.