Re:C is Truth
by greenyoda on Monday May 04, 2015 @11:13PM
(#9490672)
"Assembly is the truth"
Not even assembly is truth. In modern CPU architectures, your machine instructions are getting scheduled and parallelized in all sorts of weird ways that makes it hard to reason about the performance of your code. The instruction set architecture that assembler language maps to is an abstraction running on top of the microcode architecture. Perhaps microcode is truth, but nobody really wants to program at that level.
C is close enough to the truth that you can use it write an operating system that controls the CPU and its attached devices.
Not even assembly is truth. In modern CPU architectures, your machine instructions are getting scheduled and parallelized in all sorts of weird ways that makes it hard to reason about the performance of your code. The instruction set architecture that assembler language maps to is an abstraction running on top of the microcode architecture. Perhaps microcode is truth, but nobody really wants to program at that level.
C is close enough to the truth that you can use it write an operating system that controls the CPU and its attached devices.