41
you are viewing a single comment's thread
view the rest of the comments
[-] lolcatnip@reddthat.com 19 points 11 months ago

It sounds like you've never had to do real work in a language kind C++ where the compiler is always trying to play gotcha with undefined behavior. You can kind of use tools like AddressSanitizer to catch undefined behavior in testing but you certainly cannot just have a compiler catch it for you like you claim.

[-] bluGill@kbin.social -4 points 11 months ago

I use C++ all the time, undefined behavior is not something I encounter ever. I run undefined behavior sanitizer often.

[-] lysdexic@programming.dev 0 points 11 months ago* (last edited 11 months ago)

I use C++ all the time, undefined behavior is not something I encounter ever. I run undefined behavior sanitizer often.

From the looks of some of the posts showing up in this thread, I doubt the bulk of the commenters portraying UB as the root cause of any problem have any experience at all with C or C++. They are clearly resorting to unrealistic strawmen to pretend UB is something that it clearly is not. That just goes to show their technical background and the substance behind their claims. I really don't know how this helps advocating for Rust.

this post was submitted on 24 Dec 2023
41 points (86.0% liked)

Rust

6055 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