On Thursday, October 13, 2011 5:35:30 AM UTC-7, Martin P. Hellwig wrote:
> 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?
The statement is kind of limiting as a unit of uncaring. What if you have two
statements that you do want to be executed in order, but still don't care what
order they are executed in relative to other sets of two statements? Better
would be to have a set of blocks that the compiler is free to execute
asynchronously relative to each other (I'll call it async).
async:
a += 1
f *= a
async:
b += 1
e *= b
async:
c += 1
d *= c
There is utterly no chance of this syntax entering Python.
Carl Banks
--
http://mail.python.org/mailman/listinfo/python-list