comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Parameter evaluation order
Date: 1998/04/17
Date: 1998-04-17T00:00:00+00:00	[thread overview]
Message-ID: <dewar.892816698@merv> (raw)
In-Reply-To: 6h68ed$k5d$2@plug.news.pipex.net


Nick said

<<None of the constructs being discussed are actually non-deterministic (in
the conventional sense): this is a very esoteric branch of computing indeed!
(Related to natural learning systems, for the curious.) (Oh, and lottery
machines!)
>>


That is completely false. The conventional sense of non-deterministic in
the programming language field is that the effect of a given construct
is a non-deterministic selection from a set of possible outcomes.

Sometimes non-determinism has been used in conjunction with backtracking
semantics, where the model is that the "right" selection is made. Lambert
Meertens suggested some years ago the term "angelic non-determinism" for
this case.

Note that arbitrary selection has NOTHING AT ALL to do with random
selection (I suspect that may be part of Nick's confusion, given that
he mentions lottery machines, where randomness is what is wanted).

So saying that, for example the select statement in Ada 83, makes an
arbitrary selection of which branch to choose among several open branches
does not require or even vaguely imply some kind of "fair" random selection.
(I have been amazed at how many people have been confused on this particular
point, including some supposed experts in Ada :-)

The terms that Nick suggests, e.g. sequential non-determinism, are in my
opinion non-standard and confusing.

As you read the above, you will see that I use non-deterministic selection
and arbitrary selection from a set as synonyms. This is intentional, and
this is the conventional usage.

(related reading: the definition of SETL and its arb operator)





  reply	other threads:[~1998-04-17  0:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-05  0:00 Parameter evaluation order Mark.Rutten
1998-04-05  0:00 ` Matthew Heaney
1998-04-07  0:00   ` Don Harrison
1998-04-09  0:00   ` Simon Wright
1998-04-10  0:00     ` Matthew Heaney
1998-04-10  0:00       ` Simon Wright
1998-04-11  0:00         ` Robert Dewar
1998-04-06  0:00 ` William D. Ghrist
1998-04-06  0:00 ` Corey Ashford
1998-04-08  0:00 ` Glenden Lee
1998-04-09  0:00   ` Robert Dewar
     [not found]     ` <Er5Ir9.5Ip@world.std.com>
1998-04-09  0:00       ` Tucker Taft
1998-04-16  0:00         ` Nick Roberts
1998-04-17  0:00           ` Robert Dewar [this message]
1998-04-09  0:00       ` Peter Amey
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox