40
submitted 1 year ago* (last edited 1 year ago) by snaggen@programming.dev to c/rust@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] crispy_kilt@feddit.de 2 points 1 year ago* (last edited 1 year ago)

you will not like the borrow checker, even as it saves you from yourself

I absolutely love the borrow checker. When I do stupid things, instead of me debugging segfaults in prod a week later, it goes "here dumdum, that won't work"

Rust gives me better safety than popular high level languages because it is properly typed AND C++ like performance.

In the past I'd always be forced to choose between:

  • fast development, slow runtime, big fat VM to lug around, no segfaults

  • slow development, fast runtime, no VM, segfaults

With Rust I finally get both! Fast development, fast runtime, no VM, no segfaults. It's a dream come true.

I get that there are some half-gods with 30 years of experience that can write safe and reliable C++, but I am not as smart as them nor have I 30 years to learn. And thrn again, even the best C++ developers still occasionally write memory management bugs. It's been more than a decade since I've actually been happy with a new programming language, and I love it.

this post was submitted on 14 Aug 2023
40 points (100.0% liked)

Rust

5974 readers
76 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS