comp.lang.ada
 help / color / mirror / Atom feed
* Numerics in Ada and C++
@ 1998-01-19  0:00 Harry Erwin
  1998-01-23  0:00 ` Brian Rogoff
  0 siblings, 1 reply; 4+ messages in thread
From: Harry Erwin @ 1998-01-19  0:00 UTC (permalink / raw)



The new standard for C++ introduces a number of numerics template
classes (valarray<>, slice<>, etc.) that are intended to implement smart
arrays built around simple classes that lack side-effects and aliasing
for the new and delete operators. This has been done so that optimizing
compilers can generate code for operations on those classes that
approaches FORTRAN-77 in efficiency. Experience in computational
applications of C++ has indicated that 'mid-level' C++ code (class code
involving branching and temporaries) has been particularly inefficient
and hard for compilers to optimize, and these features were added to
help solve the problem. My question here is whether Ada encounters the
same problems.

-- 
Harry Erwin, herwin@gmu.edu, http://osf1.gmu.edu/~herwin, Senior
Software Analyst for the FAA, PhD candidate modeling how bats 
echolocate and lecturer for CS 211 (data structures and advanced C++).




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1998-01-23  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-01-19  0:00 Numerics in Ada and C++ Harry Erwin
1998-01-23  0:00 ` Brian Rogoff
1998-01-23  0:00   ` Nick Roberts
1998-01-23  0:00     ` Brian Rogoff

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