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-Thread: 103376,703c4f68db81387d X-Google-Thread: 109fba,703c4f68db81387d X-Google-Thread: 115aec,703c4f68db81387d X-Google-Thread: f43e6,703c4f68db81387d X-Google-Attributes: gid103376,gid109fba,gid115aec,gidf43e6,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!proxad.net!193.252.118.146.MISMATCH!news.wanadoo.fr!news.wanadoo.fr!not-for-mail Sender: obry@PASCAL Newsgroups: comp.lang.ada,comp.lang.c++,comp.realtime,comp.software-eng Subject: Re: Teaching new tricks to an old dog (C++ -->Ada) References: <1110059861.560004@athnrd02> <1110266099.441421.179290@o13g2000cwo.googlegroups.com> <1110332933.587110.260410@z14g2000cwz.googlegroups.com> <1110390097.532139.43430@f14g2000cwb.googlegroups.com> <422f3808$0$30165$ba620e4c@news.skynet.be> <1110409958.685759.249420@g14g2000cwa.googlegroups.com> <15SdnYvJ0_x3Vq3fRVn-3Q@megapath.net> <1110522060.091940.178510@l41g2000cwc.googlegroups.com> <1110556346.841594.212520@z14g2000cwz.googlegroups.com> <4952804.Myubg7stsI@linux1.krischik.com> <1462853.JgxLXPrZ7W@linux1.krischik.com> <1110831270.911813.215820@f14g2000cwb.googlegroups.com> <2484756.KTycvJxKQH@linux1.krischik.com> <1110907090.268126.101030@g14g2000cwa.googlegroups.com> <423811a9$0$26546$9b4e6d93@newsread4.arcor-online.net> <1110977781.680781@athnrd02> From: Pascal Obry Date: 16 Mar 2005 14:19:44 +0100 Message-ID: Organization: Home - http://www.obry.net User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Date: 16 Mar 2005 14:19:47 CET NNTP-Posting-Host: 82.120.23.180 X-Trace: 1110979187 news.wanadoo.fr 3136 82.120.23.180:1097 X-Complaints-To: abuse@wanadoo.fr Xref: g2news1.google.com comp.lang.ada:9482 comp.lang.c++:45940 comp.realtime:1532 comp.software-eng:5115 Date: 2005-03-16T14:19:47+01:00 List-Id: Ioannis Vranos writes: > Georg Bauhaus wrote: > > > The current Ada standard library includes for example > > distributed systems, > > information systems ("money computing"), > > string processing, > > interfaces to other languages, > > real-time facilities, and > > Ada subsetting definitions. > > Ada 2005 adds more features to the standard, including > > linear algebra support, and > > more file and network I/O. > > > One question is, can these facilities be implemented with the language > itself, or someone has to use another language to do the real work? In some area you need to use some call to the OS (in C or C++) and you also need some call to the OS lib to adjust the behavior across paltforms to have the same semantics on all implementaton (read on different OS) of the runtime. This is true for the distributed systems annex for example. string processing, linear algebra support, information systems can be built in plain Ada. Interface to other languages can't, you need support in the compiler. pragma Import (C, My_Routine); The semantic behind this pragma must be defined somewhere. So as you see it really depends on the nature of the library. Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.org --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595