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,9b75d36fda92b3ba X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.icl.net!newsfeed.fjserv.net!nntp.theplanet.net!inewsm1.nntp.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.vmunix.org!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!skynet.be!peer-uk.news.demon.net!kibo.news.demon.net!mutlu.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Using Ada (or SPARK) in Ada-unaware environment Date: Thu, 19 Jan 2006 20:26:35 +0000 Organization: Pushface Message-ID: References: NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1137702359 7646 62.49.19.209 (19 Jan 2006 20:25:59 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Thu, 19 Jan 2006 20:25:59 +0000 (UTC) Cancel-Lock: sha1:gmytKEH4DwMslfPo78U6tFf9c5U= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) Xref: g2news1.google.com comp.lang.ada:2544 Date: 2006-01-19T20:26:35+00:00 List-Id: Maciej Sobczak writes: > This wrapper for the device library can be either a module or a > separate program. Separate program makes sense, because can be > accessed also by other controllers, which do not even need to be > written in Ada (think about scripting tools). I don't see why you need separate *programs* to achieve this. My experience is with a shared library (Unix) setup: basic.so <----+--------------------- Ada program | +---- tclbinding.so -- Tcl program but thinking back the underlying architecture was a shared-memory scheme and basic.so provided the interface to that. Clearly _something_ has to be shared!