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!mx02.eternal-september.org!feeder.eternal-september.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!reality.xs3.de!news.jacob-sparre.dk!franka.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: Ada and C++ in the same binary, was: Re: Current status of Ada development for an Android target ? Date: Mon, 20 Jun 2016 14:11:59 +0200 Organization: JSA Research & Innovation Message-ID: <87d1nc83g0.fsf@adaheads.sparre-andersen.dk> References: <623218455.487799273.877639.laguest-archeia.com@nntp.aioe.org> <7cc0e66f-2a45-4cca-b670-0c3859f4b004@googlegroups.com> NNTP-Posting-Host: 93.165.155.46 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: franka.jacob-sparre.dk 1466424717 21803 93.165.155.46 (20 Jun 2016 12:11:57 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Mon, 20 Jun 2016 12:11:57 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:kxKnBwZBsHyPbDpUB8C1nh1Q8fI= Xref: news.eternal-september.org comp.lang.ada:30835 Date: 2016-06-20T14:11:59+02:00 List-Id: Simon Clubley wrote: > The C++ idea is for the low level code which could be used elsewhere. > If I write that low level code in Ada then how do I port it to a > target which may not have an Ada compiler available for it? The expensive solution is to use AdaMagic, which compiles to C (including run-time support). But writing in C++ is expensive as well. The difference is just when you pay the price. With AdaMagic, you only pay once you need to. Greetings, Jacob -- "simply because no one had discovered a cure for the universe as a whole - or rather the only one that did exist had been abolished"