• 0 Posts
  • 2 Comments
Joined 2 years ago
cake
Cake day: June 9th, 2023

help-circle
  • ProtonBadger@lemmy.catoLinux@lemmy.mlFish 4.0: The Fish Of Theseus
    link
    fedilink
    arrow-up
    14
    arrow-down
    1
    ·
    11 days ago

    Yes, it’s because it keeps track on object lifetimes and data access when sharing objects, even across threads. It means that once things compiles a whole category of common and often difficult to debug errors are gone. It means much less time debugging and fewer issues once in the hands of the end user. There can still be bugs but it’s more about logical errors than difficult memory issues.

    As a C++ dev for 20 years, I love Rust. Humans are fallible, even if endeavouring to use safe patterns. Might as well just let the compiler use some CPU cycles on that.