Re:GCC undefined behaviors are getting wild
by consp on Monday November 28, 2022 @02:40AM
(#33770776)
Writing Rust and Haskell for sanity is not something I would agree with. Maybe for language characteristics but reading those make me jump out of the window.
I have the same issue with Java and Go. (Which I brought up as well.)
Yet, they still compare favourably with C in this regard. Almost anything does.
Re:GCC undefined behaviors are getting wild
by pca006132 on Monday November 28, 2022 @03:04AM
(#33770946)
I think Rust doesn't allow integer overflow either, unless you specifically use the wrapping_* operations. Probably the same kind of thing will also happen to Rust.
These days the whole point of C is this Faustian pact with the devil of speed for sanity.