A Comparison of Python and Ruby Extension Interfaces (Re: Comparison between Python and "Ruby")

Yukihiro Matsumoto matz at netlab.co.jp
Thu Nov 4 00:22:08 EST 1999


Fernando Pereira <pereira at research.att.com> writes:

|In my experience, there's a big difference between what you and I call
|"sensible" and what compiler and OS developers try to get away with,
|not to mention the vagaries of particular hardware. For example, what
|is the state of the stack, registers, etc. when a Unix signal handler
|is called? What if that handler (maybe by calling back into the
|higher-level language) forces a GC?

I implemented Ruby to avoid GC (and longjmp) during handlers.
See code for detail, if you are interested.  We haven't met such
problems, yet.




More information about the Python-list mailing list