Linked by Thom Holwerda on Fri 15th Feb 2013 10:40 UTC
General Development "Since I left my job at Amazon I have spent a lot of time reading great source code. Having exhausted the insanely good idSoftware pool, the next thing to read was one of the greatest game of all time: Duke Nukem 3D and the engine powering it named 'Build'. It turned out to be a difficult experience: The engine delivered great value and ranked high in terms of speed, stability and memory consumption but my enthousiasm met a source code controversial in terms of organization, best practices and comments/documentation. This reading session taught me a lot about code legacy and what helps a software live long." Hail to the king, baby.
Permalink for comment 552822
To read all comments associated with this story, please click here.
RE[11]: Code Review
by Alfman on Mon 18th Feb 2013 18:09 UTC in reply to "RE[10]: Code Review"
Alfman
Member since:
2011-01-28

moondevil,

"Actually when I think about optimizing compilers, I am thinking about Portland Group, Intel and Codeplay compilers."

Intel's is the only one I've used, but that might have been five years ago. The other two don't offer versions for the public. Codeplay's website seems to indicate they specialize with game accelloration on cuda and PS3.


"I don't do any low level programming myself since around 2000, so in a way I am also curious how the reality is."

I wish i could say I did it professionally, but I don't. I just do it for my own pet projects. Not long I managed to beat the GMP arbitrary size arithmatic library on divisions for lengths of around 4 words. I was a bit surprised since my algorithm is straitforward (though it did require inline assembly optimization). I want to confirm that my results are valid in the general case on multiple machines. Also I need to confirm that GMP was in fact using it's fastest algorithm; GMP does automatically choose between many of them so maybe the selector was poorly tuned.

It would be very interesting to see whether the assembly optimizations could be eliminated under ICC, maybe I'll give it a shot. This is all on the back burner now since I only get paid to do web stuff.

Reply Parent Score: 2