News for hackers. Stuff that matters.
Re:Summary of C/C++ integer rules by tammerk on Friday April 02, 2021 @06:55AM (#26670436)
It's more funnier that although language is full of traps, in practice it works quite well. I don't think any C developer(or let's say %95) knows all the rules mentioned in the article, yet we are still one piece.

Does anybody know any paper for bugs per lines of code for different languages or something similar?

Re:Summary of C/C++ integer rules by nayuki on Sunday April 04, 2021 @10:37AM (#26689750)
C/C++ developers not knowing the rules does bite them. For example, it made the 32-bit/64-bit transition much more painful. See https://www.viva64.com/en/a/0004/ ; https://www.viva64.com/en/a/0065/