|By value-result vs by reference firstname.lastname@example.org (1994-04-21)|
|Re: By value-result vs by reference email@example.com (1994-04-21)|
|By value-result vs by reference firstname.lastname@example.org (1994-04-21)|
|Re: By value-result vs by reference email@example.com (1994-04-21)|
|Re: By value-result vs by reference Dik.Winter@cwi.nl (1994-04-21)|
|Re: By value-result vs by reference firstname.lastname@example.org (1994-04-22)|
|Re: By value-result vs by reference email@example.com (1994-04-24)|
|Re: By value-result vs by reference firstname.lastname@example.org (1994-04-23)|
|[6 later articles]|
|From:||email@example.com (Graham Matthews)|
|Organization:||University of Bristol, England|
|Original-Sender:||firstname.lastname@example.org (Usenet news owner)|
|Date:||Thu, 21 Apr 1994 10:47:41 GMT|
Frederic Guerin (email@example.com) wrote:
> I would like to hear about call-by-value-result vs call-by-reference,
> which one is better ?
> Most of the today popular languages have adopted the call-by-reference as
> a mean to pass variable arguments to procedure-function.
> [efficiency argument deleted]
The problem with this kind of discussion is that the semantics of the rest
of the language effect the discussion so much. Specifically a language may
have semantics such that the programmer can only use call by value, but
the implementation can implement everything using call by reference (a
language like Sisal comes to mind here). Whether one calling convention is
better than the other becomes pretty moot in this kind of set up.
Return to the
Search the comp.compilers archives again.