comp.lang.ada
 help / color / mirror / Atom feed
From: robert_dewar@my-dejanews.com
Subject: Re: Valued procedures
Date: 1999/01/21
Date: 1999-01-21T00:00:00+00:00	[thread overview]
Message-ID: <787poa$toc$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 787gb8$kp2$1@nnrp1.dejanews.com

In article <787gb8$kp2$1@nnrp1.dejanews.com>,
  dennison@telepath.com wrote:
> This does add an extra layer to your bindings, but
> bindings to another language are almost *always* awkward
> to use in Ada without adding another
> layer. That's what's meant by "thick" bindings.


Wrong on both counts. Thin bindings routinely provide a
procedure and function version for such interfaces.

Second, thick bindings are (hopefully!) about far more than
little trivial issues like this, they are about raising
the entire semantic level of the interface to a more
strongly typed, more abstract level. POSIX/Ada is a good
example of such a binding.

Incidentally allowing people to routinely ignore the
results of a call to a C function where the result is
the error code in Ada is truly horrible -- a systematic
way of importing into Ada one of the nastiest features of
C :-)

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




  reply	other threads:[~1999-01-21  0:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-21  0:00 Valued procedures dmitry6243
1999-01-21  0:00 ` Tom Moran
1999-01-21  0:00 ` robert_dewar
1999-01-21  0:00 ` adam
1999-01-22  0:00   ` Tucker Taft
1999-01-22  0:00   ` adam
1999-01-21  0:00 ` robert_dewar
1999-01-21  0:00 ` dennison
1999-01-21  0:00   ` robert_dewar [this message]
1999-01-21  0:00     ` dennison
1999-01-25  0:00   ` dmitry6243
1999-01-25  0:00     ` robert_dewar
replies disabled

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