News for hackers. Stuff that matters.
Re:Essential C by tptacek on Sunday August 12, 2012 @02:49PM (#4373222)
Understanding of the cache (specifically) and the memory hierarchy (in general), and of register allocation, are vital to writing efficient C code. Obviously, you don't have to understand that stuff to write marginal C code, but the idea that C hides it from programmers is a bit of a stretch.

I'm not sure what you mean by "the existence of a status word", since much of the expression syntax of C is a mapping of the status bits.

Re:Essential C by cageface on Monday August 13, 2012 @12:04AM (#4374545)
But C doesn't expose any of that in a meaningful, direct way.

You have to have a mental model of the cache and memory hierarchy in your head to write really efficient code in any language.

Re:Essential C by derleth on Monday August 13, 2012 @01:37PM (#4377007)
> the existence of a status word

When I'm writing a bigint package in assembly, I can see whether the previous addition set the carry flag. In x86, I even have an adc opcode. There's nothing like that in C.