[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Evaluation order, assignment order
- From: Klaus Ripke <paul-lua@...>
- Date: Thu, 22 Jun 2006 16:40:30 +0200
hello
On Thu, Jun 22, 2006 at 02:53:45PM +0100, David Jones wrote:
> Sequence points have little to do with evaluating things in parallel.
care to explain?
"In parallel" here referred to the sequential order defined for Scheme,
which would mean that f(x++,x++) will pass two consecutive values
(in any order), right?
Having no sequence point between argument evaluation in C means
that f could get twice the same value, right?
And other side effects like reading from a volatile special
memory location could even cause actual overlapping execution,
couldn't they?
Anyway, having "some" sequential order is probably of rather limited value.
regards
- References:
- Evaluation order, assignment order, Mike Pall
- Re: Evaluation order, assignment order, David Jones
- Re: Evaluation order, assignment order, Roberto Ierusalimschy
- Re: Evaluation order, assignment order, Klaus Ripke
- Re: Evaluation order, assignment order, David Jones