From: Thomas Sondergaard Date: 2003-10-08T20:08:13+09:00 Subject: GC and the stack Hello, As far as I understand the ruby gc will not collect objects that are referenced from the stack, ie the "C/native" stack in a ruby extension module. How does the ruby gc recognize what on the stack is a reference to a ruby object? The types on and layout of the values in a particular stack frame is not available at runtime is it? The initial joy of the simplicity of the ruby C API has for me turned into a fear of not knowing what is going on concerning especially garbage collection. Thomas