News for hackers. Stuff that matters.
Re:On C-optimizing compilers removing code that has undefine... by likelynew on Saturday June 17, 2017 @06:43AM (#14575230)
I was thinking about reading the code line by line. Name any other language in which you can do that, without spending at least a week in that. I don't know what is a simple language according to you, but according to me C seems quite a simple language. Not saying it means that a good quality code is easier to write in C.
Re:On C-optimizing compilers removing code that has undefine... by dom0 on Saturday June 17, 2017 @06:56AM (#14575282)
I can't, but I also think your premise is not correct ("reading the code line by line" "without spending at least a week in that"). A lot of production C code is inscrutable without a good understanding of the language, and to understand many common constructs (e.g. overflow checks) you just have to know it. That trivial code is trivial to understand... well... that's true in most languages, no?