[Python-ideas] Message passing syntax for objects

Yuval Greenfield ubershmekel at gmail.com
Mon Mar 18 08:23:11 CET 2013


On Mon, Mar 18, 2013 at 8:58 AM, Chris Angelico <rosuav at gmail.com> wrote:

> I suppose what I'm asking for is a 1-2 sentence blurb to sell the
>  idea. What's the key advantage for daily work?
>

http://en.wikipedia.org/wiki/Message_passing
http://en.wikipedia.org/wiki/Erlang_(programming_language)

In Erlang, message passing between processes is the main/only thing you do.
When every program is built as a set of processes passing messages, you get
free parallelization. You can also arrange the message queuing to allow
hot-replacing processes, i.e. update your code while it's running.

It's a neat concept, but it's not in python's history or culture to
"enforce" programming paradigms. And of course the bit shifting operators
aren't going anywhere.


Yuval Greenfield
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130318/3560499d/attachment.html>


More information about the Python-ideas mailing list