Sigurd Torkel Meldgaard <[EMAIL PROTECTED]> wrote: > For a student project in a course on virtual machines, we are > evaluating the possibility to experiment with removing the GIL > from CPython
Hi, It's great to hear of this kind of project. I think what you want to do is difficult but possible. The major compilcation would be that extension modules would have to re-written since they all assume a reference counting GC. A foreign function interface like CMU Lisp's "alien" or GHC's FFI is not necessarily any worse but it does place different demands on extension module authors. As a student project, I think it would make sense to forget about extensions and try to create a barebones interpreter based on CPython's runtime, compiler, etc with the reference counting ripped out and some other GC installed. I once had the Boehm GC working with Python. That's not too interesting. I'm not really up-to-date on current GC research but I think your GC has to do some copying in order to get really good performance. Producing a barebones version of the Python interpreter that utilizes a modern, copying GC would be a nice achievement and could be a platform for future work. Regards, Neil _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com