comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Ada as glue ? logical approach ?
Date: Sun, 29 Jan 2012 08:26:07 +0000
Date: 2012-01-29T08:26:07+00:00	[thread overview]
Message-ID: <m2aa56die8.fsf@pushface.org> (raw)
In-Reply-To: 9e698480-636a-419f-9b50-400b322de8d4@dp8g2000vbb.googlegroups.com

Patrick <patrick@spellingbeewinnars.org> writes:

> I have been studying ada for sometime now but I have no experience
> coding with it.

Get coding then! It won't hurt (much).

> Someone could write a full binding for a library but could someone
> also not just use the import pragma to "grab onto" the existing C
> library APIs?
>
> This would be a bit like ctypes in Python correct ? Are other list
> members writing their own 'as needed' partial bindings? Is this a
> logical approach? -Patrick

Quite a few of the "full bindings" are in fact partial; there's often a
lot of the full API that isn't immediately necessary. For example, in my
Ada 2005 Math Extensions[1], I didn't bother with the parts of LAPACK
and BLAS that deal with matrices of special forms, for example an "upper
Hessenberg", whatever that is (see [2] Table 2.1 for the full set).

[1] https://sourceforge.net/projects/gnat-math-extn/
[2] http://www.netlib.org/lapack/lug/node24.html



  reply	other threads:[~2012-01-29  8:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-29  4:53 Ada as glue ? logical approach ? Patrick
2012-01-29  8:26 ` Simon Wright [this message]
2012-01-29  9:46 ` mockturtle
2012-01-29 13:10 ` Brian Drummond
2012-01-29 13:57   ` Patrick
2012-01-29 16:51     ` mockturtle
2012-01-30  0:26       ` Patrick
2012-02-01  2:19 ` BrianG
2012-02-01  4:07   ` Patrick
2012-02-01  6:05     ` tmoran
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox