Slashdot Log In
What Is the Oldest Code Written Still Running?
Posted by
kdawson
on Sunday May 11, @03:30PM
from the when-dinosaurs-ruled-the-datacenter dept.
from the when-dinosaurs-ruled-the-datacenter dept.
Consul writes "What is the oldest piece of code that is still in use today, that has not actually been retyped or reimplemented in some way? By 'piece of code,' I'm of course referring to a complete algorithm, and not just a single line." The question would have a different answer if emulation, in multiple layers, is allowed.
Related Stories
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.

A rare topic (Score:5, Interesting)
Somehow I doubt that many of the people that would be running such old computers such as ones from before 1970 would be reading Slashdot. And if you think about it, people conceptulized computers differently back then. I think you'd be hard pressed to find mention of a specific program but more of mention of a computer itself. Its too bad there is such a big disconnect between the generations of computer programmers and administrators.
Reply to This
Re:A rare topic (Score:5, Insightful)
Reply to This
Parent
Re:A rare topic (Score:5, Informative)
Reply to This
Parent
Re:A rare topic (Score:5, Insightful)
Reply to This
Parent
Re:A rare topic (Score:5, Informative)
I'm not too familiar with it, so I don't know if the code has ever been changed -- I suspect the hardware has been updated periodically, probably various IBM mainframes -- but based on my experience with government systems there is probably a fair bit of original code in there that nobody understands anymore, and thus doesn't touch.
There is very little information about the system online; here is an Internet Archive page about it [archive.org], that's as close to an 'official site' as I can find.
Reply to This
Parent
Oblig xkcd. (Score:5, Funny)
Reply to This
Parent
Re:A rare topic (Score:5, Insightful)
And why should they? It works. It does precisely the job it was designed to do, and continues to do it at at least the level of ability it originally had, often better if the hardware underneath has been upgraded. Something only truly becomes obsolete when it no longer satisfies today's needs. A well designed, task-specific system could theoretically never become obsolete.
Reply to This
Parent
Re:A rare topic (Score:5, Interesting)
At my job they're replacing a bunch of Tandem code that runs some of our core IT infrastructure with Wintel servers. It makes me ill to even be near the work, because they're taking something that just quietly works and "upgrading" it to something that doesn't.
For those who don't know, Tandem is a high-availability platform designed to never go down. They had the power off to the building earlier in the year and the Tandem folks weren't sure they knew how to power the system on properly - that's how long it had been running.
Reply to This
Parent
Re:Pioneer and Voyager Comps Receive Uplink Update (Score:5, Interesting)
Reply to This
Parent
The OS powering John McCain's artificial heart... (Score:5, Funny)
Sadly, it has a Y2K bug. This explains why the John McCain of 2008 is not the same as the one from eight years ago.
Reply to This
The oldest code in existence: (Score:5, Funny)
Reply to This
Re:The oldest code in existence: (Score:5, Insightful)
Reply to This
Parent
Re:The oldest code in existence: (Score:5, Interesting)
It's the oldest living organism, so it's got the oldest bit of unchanged genetic code, and obviously a lot older than computer code for sure.
Reply to This
Parent
Embedded microcode (Score:5, Insightful)
I don't remember when digital watches started appearing, but I suppose there's a bit of code in there? Various industrial machines from waaay back that are still in use ought to be good candidates as well.
Kudos to Consul for a remarkably interesting Ask Slashdot. The best one I've seen in a long while
Reply to This
BSD had a 25-year code still running... (Score:5, Funny)
Reply to This
Oldest possible... (Score:5, Funny)
2 create universe()
3 while (1)
4 # I'll finish this up later
Reply to This
For which value of 'code'? (Score:5, Informative)
Reply to This
logarithms (Score:5, Insightful)
Not quite a cheat, but I'd say that the original instructions used to calculate log tables might be close.
It's code (well, instructions - same thing?)
While it has been retyped many time, I'm sure the original paper-based instructions are still in a library somwwhere, and would work on a suitably old calcuator (hand-cranked, of course)
It's definitely a complete algorithm
Reply to This
Ada Bryon's Code (Score:5, Interesting)
Of course Charles Babbage [wikipedia.org] holds the claim for longest vaporware project at 153 years. And also apparently the longest unfixed bug.
Reply to This
How about the oldest piece of your code? (Score:5, Interesting)
Anyone else with a story?
Reply to This
Re:I'm not sure (Score:5, Insightful)
Reply to This
Parent
Re:oldest code in existence (Score:5, Funny)
-k
Reply to This
Parent
Alan Turing's First Program (Score:5, Informative)
Reply to This
Parent
Re:Depends on what you mean by code and running... (Score:5, Informative)
Reply to This
Parent
Re:Probably... (Score:5, Interesting)
Reply to This
Parent