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.8 required=5.0 tests=BAYES_00,FREEMAIL_FROM, PLING_QUERY autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b6d862eabdeb1fc4 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!usenet-fr.net!gegeweb.org!aioe.org!not-for-mail From: =?iso-8859-15?Q?Yannick_Duch=EAne_=28Hibou57=29?= Newsgroups: comp.lang.ada Subject: Re: Ada noob here! Is Ada widely used? Date: Sat, 05 Jun 2010 11:24:57 +0200 Organization: Ada At Home Message-ID: References: <0e88de66-128c-48fd-9b9f-fdb4357f318a@z17g2000vbd.googlegroups.com> NNTP-Posting-Host: anOtUalzMUZHasssFqT+2w.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/10.53 (Win32) Xref: g2news2.google.com comp.lang.ada:12272 Date: 2010-06-05T11:24:57+02:00 List-Id: Le Sat, 05 Jun 2010 10:04:52 +0200, Nasser M. Abbasi a = =E9crit: >>> and in what area(s) does it excel, e.g. data processing, number = >>> crunching, graphics, etc? >> > >> It is excellent in these areas, and probably in many others... >> _________________________________________________________ > > I think the fact that complex numbers are not a build-in primitive da= ta = > type in Ada makes it bit harder to use for number crunching. > > Fortran, for example, had complex numbers build into the language. I = = > wonder why the orginal designers did not add complex data type to the = = > design of Ada. > > Other than that, I think Ada would be a very good choice for number = > crunching, but from what I see, it is very little used in this area. > > --Nasser May be possible reason is that a complex number is seen a composite type= , = and how would one fix the type of its two component ? Float ? Fixed ? Bo= th = the same ? Different ? And so on. Unless with a special ugly/heavy synta= x, = difficult to image a way to simply declare a complex type in Ada (unless= = you do it the C way : one type for all use, without constraints, and no = = other choices). -- = There is even better than a pragma Assert: a SPARK --# check. --# check C and WhoKnowWhat and YouKnowWho; --# assert Ada; -- i.e. forget about previous premises which leads to conclusion -- and start with new conclusion as premise.