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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Community Input for the Maintenance and Revision of the Ada Programming Language Date: Thu, 10 Aug 2017 17:14:21 +0200 Organization: Aioe.org NNTP Server Message-ID: References: <79e06550-67d7-45b3-88f8-b7b3980ecb20@googlegroups.com> <9d4bc8aa-cc44-4c30-8385-af0d29d49b36@googlegroups.com> <1395655516.524005222.638450.laguest-archeia.com@nntp.aioe.org> <1965864878.524005725.686266.laguest-archeia.com@nntp.aioe.org> <085872f2-2876-401d-9661-4ca5c82bb7ea@googlegroups.com> NNTP-Posting-Host: MajGvm9MbNtGBKE7r8NgYA.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Language: en-US Xref: news.eternal-september.org comp.lang.ada:47676 Date: 2017-08-10T17:14:21+02:00 List-Id: On 2017-08-10 16:43, Lucretia wrote: > 10) Standardised C++ binding, what the compiler does underneath > shouldn't matter as long as the interface specifying the binding is > consistent and has a way to add platform specific changes, i.e. DLL > binding for Windows, standard binding for other OSes. Is that even possible? I used to make a C++ library (with some templates) compilable by both Borland C++ and Visual Studio C++. That was fun! I had a few cases when I needed to deal with C++ from Ada. It did not take long time to understand that this was far beyond a mere mortal like me. Luckily it was possible to put all that mess into a custom DLL with plain C interface which I used instead. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de