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,ca4e57cccfa15f01 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!tudelft.nl!txtfeed1.tudelft.nl!transit0.news.tiscali.nl!tiscali!transit1.news.tiscali.nl!dreader2.news.tiscali.nl!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Re :Importing and using a C++ class in Ada References: From: Ludovic Brenta Date: Fri, 06 May 2005 13:16:35 +0200 Message-ID: <87mzr8haek.fsf@insalien.org> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:ev4hN3o4u3PeV8Il5VpkDDq3FPY= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: Tiscali bv NNTP-Posting-Date: 06 May 2005 13:16:15 CEST NNTP-Posting-Host: 83.134.242.90 X-Trace: 1115378175 dreader2.news.tiscali.nl 1366 83.134.242.90:35004 X-Complaints-To: abuse@tiscali.nl Xref: g2news1.google.com comp.lang.ada:10943 Date: 2005-05-06T13:16:15+02:00 List-Id: Christopher Gosset writes: > But if every man needs to make his own hack, even for such trivial > things like using a member function then the world would be a mess. > 95%(?) of all useful libraries and SDK's out there is made in C++ > and if there are no easy way to use this functionality, then this > will make us ada users a group of secterians within the sofware > world. And it would also make every simple project that requires a > binding like this "career safe" since ever man and woman will have > his own way of doing this. And that is not good! So I still have > some hopes regarding the CPP specific pragmas. I disagree with your statement that 95% of all useful libraries are in C++. More libraries are written in C than in C++. For example, GNOME is written in C for the specific purpose of binding easily to other languages (see http://developer.gnome.org/arch/lang). Now, if you find a good C++ library which you want to call from Ada, consider releasing your binding as free software, so that others can benefit from it. There already exist many bindings which you can use without duplicating work. See http://www.adaworld.com for a list of free bindings. -- Ludovic Brenta.