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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,da047bd41d707e54 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!x16g2000prn.googlegroups.com!not-for-mail From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Re: networking support? Date: Sun, 21 Dec 2008 14:21:02 -0800 (PST) Organization: http://groups.google.com Message-ID: <04e6aa58-1a31-407f-915a-dbb48de970ef@x16g2000prn.googlegroups.com> References: <494a17a9$0$30226$9b4e6d93@newsspool1.arcor-online.net> <494a4655$0$30220$9b4e6d93@newsspool1.arcor-online.net> <3b02e324-d3c8-47a9-8a3e-beb75f3687f2@40g2000prx.googlegroups.com> NNTP-Posting-Host: 62.21.85.17 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1229898063 32686 127.0.0.1 (21 Dec 2008 22:21:03 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 21 Dec 2008 22:21:03 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: x16g2000prn.googlegroups.com; posting-host=62.21.85.17; posting-account=bMuEOQoAAACUUr_ghL3RBIi5neBZ5w_S User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; FunWebProducts),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:3067 Date: 2008-12-21T14:21:02-08:00 List-Id: On 21 Gru, 18:57, Oliver Kowalke wrote: > > Which Boost libraries are you interested in? > > DateTime > Filesystem > System > Interprocess > (Regex) I think that for these libraries your best option is to write simple wrappers with extern "C" interface (that is, C wrappers) and pragma Import that interface to Ada. Note also that a significant part (if not all) of this is already available in Ada in the standard library or in the GNAT library - it might be easier and more natural to use what Ada offers first before reaching out to C++ libraries. I would go for interfacing to an existing C++ library only when something much more specialized is involved. Numeric computation or communication infrastructure are possible examples. A database library would be another example, see SOCI-Ada linked below. -- Maciej Sobczak * www.msobczak.com * www.inspirel.com Database Access Library for Ada: www.inspirel.com/soci-ada