What Is the Oldest Code Written Still Running?
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.
...which was implanted in his chest shortly before his escape from the Viet Cong. 1,700 lines of COBOL, and still going strong!
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.
Genetic code.
10 testing
20 goto 10
Orbis terrarum est non altus satis
world
20 Dixit quoque Deus "Fiat firmamentum in medio aquarum"
http://xkcd.com/224/
"The fight for freedom has only just begun." - Geert Wilders
Well, I may mistaken but I think the LSM is owned by the British government ;)
...but some insensitive clod recently deleted it.
1 "Let there be light"
2 create universe()
3 while (1)
4 # I'll finish this up later
I guess they could be, depending on how far you're willing to stretch the definition of computer. It seems quite obvious this the definition used in the question, though. But assuming we somehow agree that DNA is code, you'd still need a religion to refer to it as 'written' instead of 'generated'.
Internet Explorer?
I thought he got the artificial heart after he was shot through the heart by Aaron Burr (who was, as Vice Presidents go, a much better marksman than Dick Cheney).
"Convictions are more dangerous enemies of truth than lies."
"Firmware" updates have been occasionally uploaded to the Pioneer and Voyager
They had to, because Voyager kept calling itself "Vger".
Table-ized A.I.
"Wise men talk because they have something to say; fools, because they have to say something" - Plato
If we're counting earth-bound code, I was going to vote for "DNA."
512 MB RAM, 20 GB disk, 200 GB transfer, five datacenters. $19.95/month.
Only on /. could a piece of code to delete a file be modded 'funny' o_0 is there actually a joke in there?
which is totally what she said
What?
"what, does religion offend you?"
Yes. As much as pumpkin heads bunnies with the tooth fairy as a sidekick laying chocolate eggs for christmas.
DNA is in a more or less constant state of "editing". But yeah, there are trees that are almost 5000 years old which presumably haven't evolved in that time.
Ah, so it's like Emacs?The other day, I was investigating some strange behavior in our production environment. I scanned through some piece of code written way back in 2001. After poking around for a couple hours, I find the offending code. The code was somewhat buggy and I found it right away, but fixing it proved to be challenging. After a hour or so, my frustrations got to me. It was so bad that I started to say "who wrote this crap?", only to realize that I wrote it 7 years ago. Alas, I had stumbled upon the oldest running code in my measly existence.
Coderz 4 Life
how about:
$c=$a
$a=$b
$b=$c