On Thu, Jul 2, 2009 at 10:18 PM, Steve Bennettstevagewp@gmail.com wrote:
So:
- The chosen language will support iteration over finite sets
- Could it support general iteration, recursion etc?
- 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.