News for hackers. Stuff that matters.
Re:Ask HN: Oldest code you have written that is still in use? by Det_Jacobian on Wednesday May 18, 2016 @05:14AM (#11720672)
I have the luck of having written GPU code on the base pixel shader on a title (Halo 4) that sold on the order of 10 million copies, first game I ever worked on. A back of the envelope calculation for how many times this code has been executed since 2012:

1e7 copies * 10 hours * 60 minutes * 60 seconds * 30fps * 1280 * 720 ~~ 300 quadrillion

Re:Ask HN: Oldest code you have written that is still in use? by slazaro on Wednesday May 18, 2016 @06:27AM (#11720917)
According to Wolfram Alpha [1], it's 9953280000000000000, which is 10 quintillion! :O

[1] https://www.wolframalpha.com/input/?i=1e7+*+10+*+60+*+60+*+3...

Re:Ask HN: Oldest code you have written that is still in use? by Det_Jacobian on Wednesday May 18, 2016 @09:35AM (#11721766)
Whoops, off by 30!
Re:Ask HN: Oldest code you have written that is still in use? by slazaro on Thursday May 19, 2016 @12:05PM (#11731211)
According to Wolfram Alpha [1], 30! is 2.65e32

;)

[1] https://www.wolframalpha.com/input/?i=30!

Re:Ask HN: Oldest code you have written that is still in use? by Det_Jacobian on Saturday May 28, 2016 @06:16PM (#11793826)
Whoops, off by 29!