Python & Go

Yoav Goldberg yoav.goldberg at gmail.com
Sat Nov 14 23:42:33 CET 2009


On Sun, Nov 15, 2009 at 12:10 AM, Terry Reedy <tjreedy at udel.edu> wrote:

> Paul Rubin wrote:
>
>  Mark Chu-Carroll has a new post about Go:
>>
>>
>> http://scienceblogs.com/goodmath/2009/11/the_go_i_forgot_concurrency_an.php
>>
>
> In a couple of minutes, I wrote his toy prime filter example in Python,
> mostly from the text rather than the code, which I can barely stand to read.
> It ran the first time without error.
>
>
Yes, but the cool thing about the Go version is that it does each generator
in a different thread, so in theory it could run twice as fast on a
multi-core machine.

Y
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091115/8e70069a/attachment.html>


More information about the Python-list mailing list