[Pharo-project] Collection new
steve at wart.ca
Tue Jan 31 18:48:47 EST 2012
On Tue, Jan 31, 2012 at 3:40 PM, Eliot Miranda <eliot.miranda at gmail.com>wrote:
> On Mon, Jan 30, 2012 at 9:18 PM, S Krish <
> krishnamachari.sudhakar at gmail.com> wrote:
>> In general why is there not a catch all for Stack Overflow and infinite
> There is, low space (and user interrupt for flat infinite loops). But the
> low space interrupt machinery is easily broken. It is difficult to test,
> and an increasingly silly approach on modern machines with huge amounts of
> memory. We need to think again.
GemStone has a user variable for maximum stack depth (defaults to 10000 I
think). The exception it raises is not so much a clever solution to the
halting problem but it catches some human errors, which is nice.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pharo-dev