This needs more evidence, as research done in LM showed that groups of similar programmer produced better results in Ada than in C++.
-
-
You don't always require trap. There's the equivalent of pragma in the standard that mandates trap. Makes sense for non hot-path. Tunable
-
A pragma comparable to STDC FENV_ACCESS would be nice here, IF compilers even implemented stuff like that...
-
Fact is, in Ada they did. At any rate, UB is hard to justify here IMHO, esp w/o UBsan. BTW Android sort-of doing trap with the new UB-runtim
-
Another thing I forgot about Power Tools analogy. *Very* easy to understand safety guide. C expert fail internalize C safe programming rules
-
I don't think this is accurate. Most unsafe C is a consequence of breaking dead simple safety rules trying to be clever...
-
...which is a lot like disabling safety mechanisms on tools for the sake of being "macho"/saving time/whatever.
-
Unfortunately C has a huge corpus of utterly wrong examples, bad tutorials, bad teachers, etc. that new people learn to do these things from
-
I hate to be blunt, but this is factually incorrect. Even w/o discussing details, code bases by C experts contain UB, crypto code from GOOG>
- 6 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.