From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Ada Library, called, returns and continues ?
Date: Tue, 18 Dec 2012 17:10:33 -0600
Date: 2012-12-18T17:10:33-06:00 [thread overview]
Message-ID: <kaqt5d$14j$1@munin.nbi.dk> (raw)
In-Reply-To: 7885cca5-2f08-48c1-ade1-9a5b10de932c@googlegroups.com
"Patrick" <patrick@spellingbeewinnars.org> wrote in message
news:7885cca5-2f08-48c1-ade1-9a5b10de932c@googlegroups.com...
> Your scaring me a bit. Do you think there is something fundamental about
> Ada that makes it hard to create bindings or projects?
Good bindings are hard, for any language. Most bindings are not good for
that reason.
> I am not saying I can do it, but I am thinking that porting 50K lines of
> C++ to Ada should not be so hard, perhaps a month or two of full time
> work.
I would guess that you are off by an order of magnitude, but of course it
would depend on precisely what you are doing and how the existing code
works.
Remember that the best way to do something in C++ is not necessarily the
best way to do something in Ada (and vice-versa). For instance, C++ programs
use altogether too many pointers (references) for good Ada. To make a really
great Ada binding, you need to design it in Ada -- writing C-in-Ada does not
buy much.
Randy.
next prev parent reply other threads:[~2012-12-18 23:10 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-16 19:21 Ada Library, called, returns and continues ? Patrick
2012-12-16 19:51 ` Simon Wright
2012-12-16 20:26 ` Dmitry A. Kazakov
2012-12-16 23:13 ` Patrick
2012-12-17 8:59 ` Dmitry A. Kazakov
2012-12-17 15:58 ` Patrick
2012-12-17 17:08 ` Simon Wright
2012-12-17 17:43 ` Patrick
2012-12-17 18:09 ` Dmitry A. Kazakov
2012-12-17 19:41 ` Patrick
2012-12-17 21:26 ` Dmitry A. Kazakov
2012-12-17 23:42 ` Patrick
2012-12-18 0:30 ` Randy Brukardt
2012-12-18 1:36 ` Patrick
2012-12-18 23:10 ` Randy Brukardt [this message]
2012-12-18 9:17 ` Dmitry A. Kazakov
2012-12-18 15:00 ` Patrick
2012-12-18 15:37 ` Dmitry A. Kazakov
2012-12-18 16:14 ` Patrick
2012-12-18 17:25 ` Dmitry A. Kazakov
2012-12-18 16:50 ` Robert A Duff
[not found] ` <2nr1d89tvkc3h0dvcd62tpsf1vujsdb09o@invalid.netcom.com>
2012-12-18 23:54 ` Patrick
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox