Respect the burrito.

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

help-circle







  • I use C, C++ and Rust in my dayjob.

    I don’t like C++, but I disagree with your statement.

    C++ has:

    • a string type, which sidesteps error prone buffer juggling.
    • smart pointers for scope based deallocation.
    • generic data types. No more hand rolling list and mapping types with void *.

    It’s obviously still not a fully memory safe language, but it has some perks over C. I’d still much rather be using rust (most of the time).