[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Erlang challenge

Does Erlang allocate all function contexts on the heap? If so, the 
stack only needs to be big enough to handle arguments for function 
calls and 1K would be a generous size for that. You could even 
eliminate the stack entirely if you wanted to, by putting returned 
values directly in the context of the function that will be called.

On Saturday, June 7, 2003, at 06:19 PM, Steve Dekorte wrote:

> Looks like Erlang only has a 1K stack size. Does it dynamically adjust 
> this as more stack space is needed, or is it set dangerously low in 
> order to get good results for this particular test?
--- james mccartney   james@audiosynth.com   <http://www.audiosynth.com>
SuperCollider - a real time audio synthesis programming language for 
MacOS X.