We're going in circles here. You keep claiming that a compiler can parallelise an expresssion if EO is defined. Which is backwards to everyone else. You're going to need to go into more details in your explanation for anyone to buy in.

Using the func1/func2 example above, we define an order: left-to-right makes as much sense as anything else. This means that func1 is evaluated, then func2 is evaluated. That's a defined execution order. There may be others, but ltr and rtl are the only ways I can think of defining these things.

And this makes defined execution order serial.

[W]ith defined execution order, the compiler is not free to "do this is any order"

Is this an admission (finally) that defined EO prevents parallelism, and any optimisation that the compiler could elicit from such parallel computation? That is all I've been saying: defined EO == serial; undefined EO permits parallel. I think you've been grossly misinterpreting everything in this thread if you think anyone has been saying anything other than this, except you.


In reply to Re^33: Why is the execution order of subexpressions undefined? (magic ruts) by Tanktalus
in thread Why is the execution order of subexpressions undefined? by BrowserUk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.