comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Warning: Flame Bait
Date: 1996/12/01
Date: 1996-12-01T00:00:00+00:00	[thread overview]
Message-ID: <dewar.849444007@merv> (raw)
In-Reply-To: E1pro0.1oE@world.std.com


Bob Duff says

"Note also that many of the issues we're talking about have nothing to do
with particular machines.  For example, order of parameter evaluation.
Ada says "arbitrary order", in the hopes that compilers can generate
more efficient code.  Java says "left to right", putting portability
ahead of efficiency.  Maybe the Java designers would argue that the
efficiency hit is small, or maybe they would argue that portability is
essential, and efficiency less important."


And of course the argument on the other side is that, especially in Ada
which is not full of nasty side effect operators like ++, only very
peculiar code would ever notice the difference, and it seems a shame
to take an efficiency hit to promote portability of code that should
never be written in the first place!

In fact the Ada rule encourages maintainable code by clearly declaring
that weird dependence on side effects is unacceptable. Making badly
written non-maintainable code portable is NOT an Ada design priority.





  reply	other threads:[~1996-12-01  0:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-27  0:00 Warning: Flame Bait Paul Whittington
1996-11-29  0:00 ` Robert A Duff
1996-11-29  0:00   ` Robert Dewar
1996-11-30  0:00     ` Robert A Duff
1996-11-30  0:00       ` Larry Kilgallen
1996-11-30  0:00       ` Robert Dewar
1996-12-01  0:00         ` Robert A Duff
1996-12-01  0:00           ` Robert Dewar [this message]
1996-12-02  0:00         ` IEEE fp & Java Clayton Weaver
1996-12-02  0:00           ` Robert Dewar
1996-12-09  0:00           ` Fergus Henderson
1996-12-01  0:00     ` Warning: Flame Bait Tom Robinson
replies disabled

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