On 19/04/07, Yukihiro Matsumoto <matz / ruby-lang.org> wrote:
> Hi,
>
> In message "Re: IRHG - Machine Stack"
>     on Thu, 19 Apr 2007 19:58:17 +0900, Charles Thornton <ceo / hawthorne-press.com> writes:
>
> |Question:  Are all stack operations in ruby limited to:
> |                 1) Underlying Complier Code
> |                  2) Ruby Stack Frames
>
> All machine-stack operations are done by underlying compiler code.
> Rubt stack frames are mere C structure allocated as local variable.
>
> |Does Ruby Language program only push Stack
> |Frames, or does it also pushed unstructured data
> |onto the stack?
>
> It's mixed.  C local variables, C frames, Ruby frames, etc.
>
>

.. and you can easily run out of stack space on more exotic platforms
where default stack size is low. Had some problems on Darwin. Ruby
applications that would work elsewhere would fail on OS X because of
small default stack size limit.

Thanks

Michal