Slashdot Mirror


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.

35 of 903 comments (clear)

  1. The OS powering John McCain's artificial heart... by Tumbleweed · · Score: 4, Funny

    ...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.

  2. The oldest code in existence: by LGagnon · · Score: 5, Funny

    Genetic code.

    1. Re:The oldest code in existence: by Anonymous Coward · · Score: 2, Funny

      It doesn't matter what upgrades you have, the answer is still the same: 42

    2. Re:The oldest code in existence: by Keeper+Of+Keys · · Score: 5, Funny

      How about a 40 thousand year old year old shrubbery... Ni!
    3. Re:The oldest code in existence: by martin-boundary · · Score: 5, Funny

      Also, the oldest profession is to maintain that code...

    4. Re:The oldest code in existence: by starglider29a · · Score: 2, Funny

      I would say it's:

      LET THERE = LIGHT

      Early manuscripts translated the assignment operator to the word "be". I think the declaration for void earth() was in #include <god.h>

      ---
      ...and God saw that IT was good.

  3. creators' planet/population rescue kode.... by Anonymous Coward · · Score: 0, Funny

    it's been around forever. you can be more helpful than you might have imagined. there are still some choices. if they do not suit you, consider the likely results of continuing to follow the corepirate nazi hypenosys story LIEn, whereas anything of relevance is replaced almost instantly with pr ?firm? scriptdead mindphuking propaganda or 'celebrity' trivia 'foam'. meanwhile; don't forget to get a little more oxygen on yOUR brain, & look up in the sky from time to time, starting early in the day. there's lots going on up there.

    http://news.yahoo.com/s/ap/20071229/ap_on_sc/ye_climate_records;_ylt=A0WTcVgednZHP2gB9wms0NUE
    http://news.yahoo.com/s/afp/20080108/ts_alt_afp/ushealthfrancemortality;_ylt=A9G_RngbRIVHsYAAfCas0NUE
    http://www.nytimes.com/2007/12/31/opinion/31mon1.html?em&ex=1199336400&en=c4b5414371631707&ei=5087%0A

    is it time to get real yet? A LOT of energy is being squandered in attempts to keep US in the dark. in the end (give or take a few 1000 years), the creators will prevail (world without end, etc...), as it has always been. the process of gaining yOUR release from the current hostage situation may not be what you might think it is. butt of course, most of US don't know, or care what a precarious/fatal situation we're in. for example; the insidious attempts by the felonious corepirate nazi execrable to block the suns' light, interfering with a requirement (sunlight) for us to stay healthy/alive. it's likely not good for yOUR health/memories 'else they'd be bragging about it? we're intending for the whoreabully deceptive (they'll do ANYTHING for a bit more monIE/power) felons to give up/fail even further, in attempting to control the 'weather', as well as a # of other things/events.

    http://video.google.com/videosearch?hl=en&q=video+cloud+spraying

    dictator style micro management has never worked (for very long). it's an illness. tie that with life0cidal aggression & softwar gangster style bullying, & what do we have? a greed/fear/ego based recipe for disaster. meanwhile, you can help to stop the bleeding (loss of life & limb);

    http://www.cnn.com/2007/POLITICS/12/28/vermont.banning.bush.ap/index.html

    the bleeding must be stopped before any healing can begin. jailing a couple of corepirate nazi hired goons would send a clear message to the rest of the world from US. any truthful look at the 'scorecard' would reveal that we are a society in decline/deep doo-doo, despite all of the scriptdead pr ?firm? generated drum beating & flag waving propaganda that we are constantly bombarded with. is it time to get real yet? please consider carefully ALL of yOUR other 'options'. the creators will prevail. as it has always been.

    corepirate nazi execrable costs outweigh benefits
    (Score:-)mynuts won, the king is a fink)
    by ourselves on everyday 24/7

    as there are no benefits, just more&more death/debt & disruption. fortunately there's an 'army' of light bringers, coming yOUR way. the little ones/innocents must/will be protected. after the big flash, ALL of yOUR imaginary 'borders' may blur a bit? for each of the creators' innocents harmed in any way, there is a debt that must/will be repaid by you/us, as the perpetrators/minions of unprecedented evile, will not be available. 'vote' with (what's left in) yOUR wallet, & by your behaviors. help bring an end to unprecedented evile's manifestation through yOUR owned felonious corepirate nazi glowbull warmongering execrable. some of US should consider ourselves somewhat fortunate to be among those scheduled to survive after the big flash/implementation of the creators' wwwildly popular planet/population rescue initiative/mandate. it's right in the manual, 'world without end', etc.... as we all ?know?, change is inevitable, & denying/ignoring gravity, logic, morality, etc..., is only possible, on a temporary basis. concern about the course of events that will occur should the life0cidal execrable fail to be intervened upon is in order. 'do not be dismayed' (also from

    1. Re:creators' planet/population rescue kode.... by urcreepyneighbor · · Score: 2, Funny

      What the HELL are you going on about? Ssh. He's not properly medicated. :)
      --
      "The fight for freedom has only just begun." - Geert Wilders
  4. oldest code in existence by the+brown+guy · · Score: 2, Funny

    10 testing
    20 goto 10

    --
    Orbis terrarum est non altus satis
    1. Re:oldest code in existence by kclittle · · Score: 4, Funny

      And, not only is it still in existence, it is still running!
      -k

      --
      Generally, bash is superior to python in those environments where python is not installed.
    2. Re:oldest code in existence by spike1 · · Score: 5, Funny

      Syntax error in line 10

  5. Easy by Anonymous Coward · · Score: 1, Funny

    Universe!

    - God

    1. Re:Easy by metalcoat · · Score: 5, Funny

      Internet Explorer?

    2. Re:Easy by palegray.net · · Score: 4, Funny

      If we're counting earth-bound code, I was going to vote for "DNA."

    3. Re:Easy by SnowZero · · Score: 5, Funny

      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?
  6. hello by no-body · · Score: 2, Funny

    world

  7. 10 Dixitque Deus "Fiat lux" by LetsGoVandy · · Score: 4, Funny

    20 Dixit quoque Deus "Fiat firmamentum in medio aquarum"

    1. Re:10 Dixitque Deus "Fiat lux" by Sique · · Score: 2, Funny
      --
      .sig: Sique *sigh*
  8. Oblig xkcd. by popmaker · · Score: 5, Funny
  9. Re:I'm not sure by gadzook33 · · Score: 2, Funny

    Well, I may mistaken but I think the LSM is owned by the British government ;)

  10. BSD had a 25-year code still running... by Keyper7 · · Score: 5, Funny

    ...but some insensitive clod recently deleted it.

  11. Oldest possible... by the_duke_of_hazzard · · Score: 5, Funny

    1 "Let there be light"
    2 create universe()
    3 while (1)
    4 # I'll finish this up later

    1. Re:Oldest possible... by Fumus · · Score: 2, Funny

      > 4 # DRUNK. FIX LATER.

      There. Fixed that for you.

    2. Re:Oldest possible... by while1noop · · Score: 2, Funny

      5 profit()

  12. Re:Really? by Thiez · · Score: 3, Funny

    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'.

  13. Re:The OS powering John McCain's artificial heart. by osu-neko · · Score: 3, Funny

    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."
  14. Re:Pioneer and Voyager Comps Receive Uplink Update by Tablizer · · Score: 4, Funny

    "Firmware" updates have been occasionally uploaded to the Pioneer and Voyager

    They had to, because Voyager kept calling itself "Vger".

  15. Re:Pioneer and Voyager Comps Receive Uplink Update by hobbit · · Score: 3, Funny

    As I see it, it's far easier for a space program to plug along without any real measure of success and failure. If you've discovered a way of getting billions of dollars of funding without having any clear objectives, please contact me privately at yeahrightwhatever@gmail.com.
    --
    "Wise men talk because they have something to say; fools, because they have to say something" - Plato
  16. Re:Pioneer and Voyager Comps Receive Uplink Update by im_thatoneguy · · Score: 5, Funny

    If you've discovered a way of getting billions of dollars of funding without having any clear objectives, please contact me privately at yeahrightwhatever@gmail.com.
    *cough* missile defense *cough*
  17. Re:A rare topic by somersault · · Score: 3, Funny

    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
  18. Re:Pioneer and Voyager Comps Receive Uplink Update by GuldKalle · · Score: 2, Funny

    Please don't. I for one am fed up of our modern PC climate where everyone is afraid to exercise their right of free speech in case someone isn't mature enough to deal with different views. Are you saying he should apologize for that remark? :)
    --
    What?
  19. Re:Really? by McGiraf · · Score: 2, Funny

    "what, does religion offend you?"

    Yes. As much as pumpkin heads bunnies with the tooth fairy as a sidekick laying chocolate eggs for christmas.

  20. Re:A rare topic by Anonymous Coward · · Score: 1, Funny

    GAG! PUKE! PUKE! PUKE! GAG! Hey! Don't you know that its bad enough to post COBOL on Slashdot, and now you have the guts *THE GUTSSSS!* to post IBM JCL on Slashdot!!!!!
    How dare ye! I'll take your logical record length and fixed block record format and stick it up the dasd track where the sun don't shine! I mean, that's just RUDE! Please don't ever do that again. If you feel the urge, just IPL your computer till the urge passes. Man! Too many flashbacks with VM/CMS, MVS/XA and JES3! Man! Now I think I need an enema!

  21. Who wrote this crap? by RoadWarriorX · · Score: 2, Funny

    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.

  22. a/b swap by sf_basilix · · Score: 2, Funny

    how about:

    $c=$a
    $a=$b
    $b=$c