Ruby uses the C stack; its continuations are implemented using setjmp/longjmp. That makes the Ruby API very natural to use from C, but unfortunately, also means that the stack limits of the native platform apply, and that Ruby's continuations are no faster than full native SMP threads. -- Lennon rcoder.net