@icon_of_computational_sin@mstdn.starnix.network
2026-03-30 09:45 UTC
Starting with C++26, uninitialised reads are no longer undefined behaviour. Instead, reading from an uninitialised local variable will always result in the same value.
https://open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2723r1.html
Just a reminder that even if you remove the ++, the C-like subset of the language is still miles ahead of what backwards C-tards preach.
Replies (2)
-
@phnt@fluffytail.org 2026-03-30 09:52
@icon_of_computational_sin https://fluffytail.org/notice/B2bfZweipYTeQ896xc
-
@iron_bug@friendica.ironbug.org 2026-03-30 12:07
@icon_of_computational_sin I just wanted to write: what an idiocy! and C is miles ahead of that bloated slow monkey script they turn C++ into. it's a fucking shame.