From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <1236103870.4929.101.camel@goose.sun.com> References: <138575260903030352s623807d7p5a3075b1f7a591f6@mail.gmail.com> <3e1162e60903030719v141b41e9ma5fd98c73d8b0e7c@mail.gmail.com> <1236103870.4929.101.camel@goose.sun.com> Date: Tue, 3 Mar 2009 21:35:54 -0800 Message-ID: <4f34febc0903032135r6fcaf2bjda82742b65d16288@mail.gmail.com> From: John Barham To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [9fans] threads vs forks Topicbox-Message-UUID: af5cc9d4-ead4-11e9-9d60-3106f5b1d025 > I believe GIL is as present in Python nowadays as ever. On a related > note: does anybody know any sane interpreted languages with a decent > threading model to go along? Stackless python is the only thing that > I'm familiar with in that department. Check out Lua's coroutines: http://www.lua.org/manual/5.1/manual.html#2.11 Here's an implementation of the sieve of Eratosthenes using Lua coroutines similar to the Limbo one: http://www.lua.org/cgi-bin/demo?sieve