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=0.6 required=5.0 tests=BAYES_20,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: 1014db,3d3f20d31be1c33a X-Google-Attributes: gid1014db,public X-Google-Thread: 109fba,2c6139ce13be9980 X-Google-Attributes: gid109fba,public X-Google-Thread: 1108a1,2c6139ce13be9980 X-Google-Attributes: gid1108a1,public X-Google-Thread: 103376,3d3f20d31be1c33a X-Google-Attributes: gid103376,public X-Google-Thread: f43e6,2c6139ce13be9980 X-Google-Attributes: gidf43e6,public From: Steve Jones - JON Subject: Re: Is ADA as good for graphics programming as C? (WAS: Re: Avoiding the second historic mistake) Date: 1997/06/19 Message-ID: <2syb86adv4.fsf@hpodid2.eurocontrol.fr>#1/1 X-Deja-AN: 251110245 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> Organization: Eurocontrol Experimental Centre, Bretigny-Sur-Orge, France Newsgroups: comp.object,comp.software-eng,comp.lang.ada,comp.lang.eiffel,comp.lang.c,comp.lang.c++ Date: 1997-06-19T00:00:00+00:00 List-Id: Mukesh Prasad writes: > > Jon S Anthony wrote: > > > If I were to do heavy-duty graphics, compression, or image > > > processing involving implementation of state-of-the-art algorithms, > > > I would think very carefully before choosing Ada. > > > > Why? [snip] > > Actually, a rectangle would be a better > test of Ada's capabilities. A triangle would > require you to pick up Breshenham or DDA or > something, which is not relevant to language > capabilities as such. The CGA part, on the > other hand, is important -- since it shows > how Ada deals with abnormal programming > situations. As long as everything > was done from first principles, I think > this would provide a good test. This seems a very strange test, for a very paticular enviroment, using Ada OpenGL bindings I could do it quickly without having to worry about any coding errors. There is no implicit speed difference that I have ever come across in any Ada work I have ever done, certainly the direct to hardware things I have done or had to interface with have been much cleaner when done in Ada as opposed to C. In the area I work (ATC systems) the simulator I currently work on uses Ada in its entirety, this involves X and PEX work and the displaying of 100s of real time tracks. This certainly requires alot of processing and it would not have been quicker in C, I know this as I previously implemented a system in C using X and PEX. The difference in timings between the two systems have nothing to do with the language of implementation but with the different design aims of those systems. On basic test programs C and Ada match each other pound for pound. -- |Un Loup en France | Wolverhampton Wanderers, out of darkness cometh Bully| |------------Cat 1, Cha, Cha, Cha -- NERC offical drinking song------------| |----The above opinions rarely reflect my own and never my employers'------| |Do not add me to mailing lists violations will be billed for time. |