Monday, February 04, 2008

Concurrency and Python

I wrote an article for Dr. Dobb's Journal: Concurrency and Python.

Abstract: Stackless Python, Erlang, and greenlets are interesting approaches to concurrency.

Enjoy!

6 comments:

Chuck said...

You might want to check out eventlet (http://wiki.secondlife.com/wiki/Eventlet), as it builds off of greenlets to provide a coroutine based networking framework. It looks like they also have Stackless support planed. I've been experimenting with it, and believe that it looks quite promising.

Shannon -jj Behrens said...

Yeah, I really like that Donovan Preston guy. We tried to hire him at IronPort. I remember convincing him that Stackless was way cooler than Twisted (he was writing Nevow at the time) because it didn't require continuation passing style.

I haven't tried out Eventlet yet, but it definitely looks promising.

lotrpy said...

hi, thanks for the link, nice work.
ps: do u have some info to recommend about write (python related) article for DDJ? thanks in advance.

Shannon -jj Behrens said...

> ps: do u have some info to recommend about write (python related) article for DDJ? thanks in advance.

Read: http://ddj.com/authors.htm

When you submit your article, be patient. When I submitted mine, I reminded them about it every three weeks for about three months. Those guys are very friendly but very busy.

lotrpy said...

Thanks for the quick reply, I understand why then don't reply my email (because i just reminded them once:P)

Shannon -jj Behrens said...

If you liked this article, you'll *love* this blog post: http://nichol.as/asynchronous-servers-in-python