From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,81da25fe30925578,start X-Google-Attributes: gid103376,public From: herwin@gmu.edu (Harry Erwin) Subject: Numerics in Ada and C++ Date: 1998/01/19 Message-ID: <1d34iv8.bgtlow7504qmN@pool-207-205-223-64.pitb.grid.net>#1/1 X-Deja-AN: 317554640 X-Server-Date: 20 Jan 1998 03:20:06 GMT Organization: HDE Associates Newsgroups: comp.lang.ada Date: 1998-01-20T03:20:06+00:00 List-Id: 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++).