Re:Writing the Fastest Code, by Hand, for Fun (2005)
by danso on Friday May 11, 2012 @11:57AM
(#3959857)
Er, so what this "John Henry" was capable of besting computers at, if I'm reading between the confusing lines correctly, was the most optimized subroutines? When I saw the phrase "John Henry" or the OP's headline, I immediately thought of someone writing more lines of code than...well, I guess I don't even know what kind of contest that would be.
[ Parent
| on HN ]
Re:Writing the Fastest Code, by Hand, for Fun (2005)
by jameskilton on Friday May 11, 2012 @12:10PM
(#3959912)
He basically is able to see how data flows through code and can rewrite routines to ensure that as much is saved in the CPU's local caches (L1 / L2 / L3) as possible to optimize the calculations. In short, he's one of the best at writing code to minimize CPU cache misses and thus one of the best at writing blazingly fast code.