On Thu, Jul 2, 2009 at 10:18 PM, Steve Bennett<stevagewp(a)gmail.com> wrote:
So:
1) The chosen language will support iteration over finite sets
2) Could it support general iteration, recursion etc?
3) If so, are there any good mechanisms for limiting the
destrutiveness of an infinite loop?
You don't really need an infinite loop. DoS would work fine if you
can have any loop. Even with just foreach:
foreach(array(1,2)as $x1)foreach(array(1,2)as $x2)....
A few dozen of those in a row will give you a nice short bit of code
that may as well run forever.