Re: The quest for the optimal calling convention; a model for specifying multiple calling conventions (longish)

Antti Sykari <jsykari@kosh.hut.fi>
25 Jan 2003 00:47:15 -0500

          From comp.compilers

Related articles
The quest for the optimal calling convention; a model for specifying m jsykari@gamma.hut.fi (Antti Sykari) (2003-01-12)
Re: The quest for the optimal calling convention; a model for specif fjh@cs.mu.OZ.AU (2003-01-17)
Re: The quest for the optimal calling convention; a model for specifyi jsykari@kosh.hut.fi (Antti Sykari) (2003-01-25)
Re: The quest for the optimal calling convention; a model for specifyi strohm@airmail.net (John R. Strohm) (2003-01-26)
Re: The quest for the optimal calling convention; a model for specifyi mailbox@dmitry-kazakov.de (Dmitry A.Kazakov) (2003-01-27)
Re: The quest for the optimal calling convention; a model for specifyi rodney.bates@wichita.edu (Rodney M. Bates) (2003-01-27)
Re: The quest for the optimal calling convention; a model for specif strohm@airmail.net (John R. Strohm) (2003-01-29)
Re: The quest for the optimal calling convention; a model for spe jvorbrueggen@mediasec.de (Jan C.=?iso-8859-1?Q?Vorbr=FCggen?=) (2003-02-05)
Re: The quest for the optimal calling convention; a model for spe rodney.bates@wichita.edu (Rodney M. Bates) (2003-02-05)
[1 later articles]
| List of all articles for this month |
From: Antti Sykari <jsykari@kosh.hut.fi>
Newsgroups: comp.compilers
Date: 25 Jan 2003 00:47:15 -0500
Organization: Sonera corp Internet services
References: 03-01-065 03-01-070
Keywords: design, performance
Posted-Date: 25 Jan 2003 00:47:15 EST

fjh@cs.mu.OZ.AU (Fergus Henderson) writes:


> Making arguments read-only is not sufficient to ensure that
> passing variables by reference or by value will be completely
> transparent to the user. ...


I can't think of a better solution than to enforce a mindset that any
parameter might be passed by reference and the programmer must not
rely on any assumptions on the passing method. If reference semantics
are desired, a pointer should be used. This seems more reasonable
than always enforcing a pass-by-value policy.


-Antti
[Gee, we're reinventing Fortran. -John]



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.