Re:Undefined behavior in C is a reading error
by vyodaiken on Thursday May 20, 2021 @05:23PM
(#27227471)
C is designed to allow programmers to insert or remove checks as performance tuning. Compiler UB "optimizations" that remove that ability from the programmer make the language unusable.
[ Parent
| on HN ]
Re:Undefined behavior in C is a reading error
by optymizer on Friday May 21, 2021 @02:09PM
(#27237679)
Not knowing what is UB in C is equivalent to not knowing a core part of the C language. In that situation, yes, C would seem unusable for people who have superficial knowledge of it.