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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,971aa11c293c3db1 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-20 10:37:23 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.direct.ca!look.ca!news1.tor.metronet.ca!nnrp1.tor.metronet.ca!not-for-mail Message-ID: <3B586C51.53C17E25@home.com> From: "Warren W. Gay VE3WWG" X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada The Best Language? References: <5be89e2f.0107170838.c71ad61@posting.google.com> <5be89e2f.0107180235.726d46a8@posting.google.com> <3B55B01A.DAC06D79@icn.siemens.de> <5be89e2f.0107181248.73298c57@posting.google.com> <9j949b$1ujp$1@norfair.nerim.net> <9cV57.54954$WS4.8386096@news6-win.server.ntlworld.com> <9j98pv$20vi$1@norfair.nerim.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 20 Jul 2001 17:37:23 GMT NNTP-Posting-Host: 198.96.47.195 NNTP-Posting-Date: Fri, 20 Jul 2001 11:37:23 MDT Organization: MetroNet Communications Group Inc. Xref: archiver1.google.com comp.lang.ada:10362 Date: 2001-07-20T17:37:23+00:00 List-Id: Bertrand Augereau wrote: > > > Leaving concurrency issues, why so? You can encapsulate system-dependant > > > stuff as much in C++. > > > > True. But some stuff is more compiler dependant, than Ada is (although > there > > can be differences between Ada compilers, however it is my understanding > that > > those are clearly documented). > > That's unfortunately (for us C++ programmers!) true (especially for > primitive types size), but nowadays, for instance, you can trust some quite > large fundations on any platform : C runtime and STL. > I think if I had to choose a language for this cross-platform consideration, > I would take Java because you get much more things in the API. > Basically for me, considering APIs, Java (+Network) > Ada(+Concurrency) > > C++ > So it's just a question of where to draw a line, isn't it? Hee, hee, but what are you going to do when you want to do a select(2) call on a dozen file descriptors? Java doesn't give you a clean way to do this, short of creating a dozen threads to each block on one descriptor. Or.. you can use non-blocking (gak) calls. Java still falls short in a number of places. Ada of course, would not prevent you from calling select(2) or poll(2). To do it in Java, requires the use of native methods, which would be oh so ugly (creation of a shared library etc. etc.) -- Warren W. Gay VE3WWG http://members.home.net/ve3wwg