jducoeur: (Default)
[personal profile] jducoeur
... that says something like:
var x = 100;
do {
   x = x + 1;
} until (x == 0);

Substitute "death" for "x", and you've got a painfully concise summary of the Middle Eastern situation...

(no subject)

Date: 2006-07-31 06:34 pm (UTC)
From: [identity profile] metahacker.livejournal.com
Start with 100.

Add one.

Keep adding one until you get 0.

The funny thing is that this will eventually quit on many computers, after you get to such an unbelievably large number that the computer can't handle it and wraps around to an equally unbelievable negative number. This says more about how weird computers are than about the algorithm. ;)

(no subject)

Date: 2006-07-31 07:09 pm (UTC)
From: [identity profile] fairdice.livejournal.com
Come, come! The Cray-3 is so fast it can execute an infinite loop in under 2 seconds!

(Actually, if x is an int, my machine at work exits after about 50 seconds...)

Profile

jducoeur: (Default)
jducoeur

July 2025

S M T W T F S
  12345
6789101112
13141516171819
20212223242526
27 28293031  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags