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,LOTS_OF_MONEY autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3009af37fa605de6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-20 18:20:48 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!chcgil2-snf1.gtei.net!news.gtei.net!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: Ada communicating with other programs Date: 20 Nov 2001 20:20:09 -0600 Organization: LJK Software Message-ID: References: <3BFA5654.519D8BC8@kfunigraz.ac.at> <9wyK7.51423$XJ4.30208867@news1.sttln1.wa.home.com> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1006309210 28394 192.135.80.34 (21 Nov 2001 02:20:10 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Wed, 21 Nov 2001 02:20:10 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:16765 Date: 2001-11-20T20:20:09-06:00 List-Id: In article <9wyK7.51423$XJ4.30208867@news1.sttln1.wa.home.com>, "Mark Lundquist" writes: > > "Larry Kilgallen" wrote in message > news:HAgg6Fearv8I@eisner.encompasserve.org... >> In article <3BFA5654.519D8BC8@kfunigraz.ac.at>, Siegfried Gonzi > writes: >> > Actually I am learning a little bit Ada 95, therefore a few questions: >> > >> > a) Is it hard for Ada to communicate with other programs? >> >> Ada has an optional appendix to cover distributed programming >> between multiple processes running in Ada, but anything more >> general (to communicate with programs in other languages) >> requires direct use of operating system features. > > Well... > > 1) Just to clarify, Ada has very good capabilities for interfacing with > *object code* written in other languages, and this of course has nothing to > do with direct use of OS features as long as we are talking about statically > linked executables (and even with shared libraries on Unix, interoperability > typically does not involve OS features at the source code level unless you > have special needs -- in which case you would have to jump through the same > hoops no matter what language you are programming in). When someone talks about communicating with "other programs", I take it to mean executable images. Otherwise they would have asked about using "libraries".