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: fac41,2c6139ce13be9980 X-Google-Attributes: gidfac41,public X-Google-Thread: f43e6,2c6139ce13be9980 X-Google-Attributes: gidf43e6,public X-Google-Thread: 1014db,3d3f20d31be1c33a X-Google-Attributes: gid1014db,public X-Google-Thread: 103376,3d3f20d31be1c33a X-Google-Attributes: gid103376,public X-Google-Thread: 109fba,2c6139ce13be9980 X-Google-Attributes: gid109fba,public X-Google-Thread: 1108a1,2c6139ce13be9980 X-Google-Attributes: gid1108a1,public From: pontius@btv.vnet.ibm.com (Dale Pontius) Subject: Re: Is ADA as good for graphics programming as C? (WAS: Re: Avoiding the second historic mistake) Date: 1997/07/08 Message-ID: <5ptc9i$s2s$1@mdnews.btv.ibm.com>#1/1 X-Deja-AN: 255494616 References: <33957A33.1C31AB44@oma.com> <865898351snz@nezumi.demon.co.uk> <339ED54C.215A5F85@oma.com> <5noc8u$a8m$3@miranda.gmrc.gecm.com> <33A032AC.2D8BA85C@oma.com> <5nrn86$cvo$3@miranda.gmrc.gecm.com> <33A1CBBB.B0602EC@oma.com> <5o2uls$ku3$2@miranda.gmrc.gecm.com> <33A6ADDA.2099EEB9@oma.com> <33A7D2DE.545B@polaroid.com> <33A9338D.10BB@polaroid.com> <33B09D64.E7F99DA3@saguarosoft.com> <33B16CBB.417A@gdesystems.com> Organization: IBM Microelectronics Division Newsgroups: comp.object,comp.software-eng,comp.lang.ada,comp.lang.eiffel,comp.lang.c,comp.lang.c++ Date: 1997-07-08T00:00:00+00:00 List-Id: In article , mheaney@ni.net (Matthew Heaney) writes: > > It is my understanding that because of Cs aggressive use of type-casting, > optimizations are actually more difficult to make than in Ada, where more > semantic information is given to the compiler (because of the richness of > its type system), thus allowing better optimization than is possible for C. > But I have this annoying feeling that the programming community is accustomed to optimizing C, even if it is difficult. Even though Ada gives more information to the compiler that can be used to optimize code, I have a feeling compiler writers aren't used to using that information, and don't. (or at least not much.) Fortunately, Java may help this situation. In terms of optimization Java is closer to Ada than C, and there is tremendous pressure to improve Java performance. As compiler technology develops to optimize Java, it will be applicable to Ada as well. Yep, Ada was here sooner. But it doesn't command the market attention that C, C++, and Java do. So strong-typing-assisted optimization may be late, but at least it's coming. Dale Pontius (NOT speaking for IBM)