Language Enhancement Idea to help with multi-processing (your opinions please)

Martin P. Hellwig martin.hellwig at gmail.com
Thu Oct 13 08:35:30 EDT 2011


First of all let me say that I have no authority or knowledge of 
language design or multi-processing except from a user point of view, 
having a decade or so experience.
I would like your opinion and appreciate any feedback and value any 
hints to documentation, procedures or related ramblings :-).

I was wondering if there could be an advantage to add another control 
flow statement.
For the purpose of this writing let's say "ooo" which stands for 'out of 
order'.

For example;

def do_something():
     a = 4
     b = 2
     c = 1
     ooo:
         a += 1
         b += 2
         c += 3
     print(a, b, c)

What I would expect to happen that all statements within the ooo block 
may be executed out
of order. The block itself waits till all statements are returned before 
continuing.

What do you think?



More information about the Python-list mailing list