comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: thick bindings, was Re: Vulkan is here!
Date: Mon, 22 Feb 2016 17:56:23 -0600
Date: 2016-02-22T17:56:23-06:00	[thread overview]
Message-ID: <nag778$crk$1@loke.gir.dk> (raw)
In-Reply-To: na912e$cv0$1@gioia.aioe.org

<tmoran@acm.org> wrote in message news:na912e$cv0$1@gioia.aioe.org...
> >The important reason for having access to some low-level binding is so 
> >that
>>one can directly translate examples into Ada. The idea is that a medium
>>binding preserves that (one uses the same objects, same parameters 
>>[possibly
>>better typed], same subprogram calls), but makes those calls more sensible
>>Ada code, letting the compiler provide more help to the programmer.)
>
>  As I recall, there were a lot of Windows calls that did not work as
> documented (or weren't documented completely).  A thick binding like CLAW
> works around and thus hides such things.  A mechanically produced binding
> wouldn't do that.

True enough. In fairness to Microsoft, the state of their documentation in 
more recent years is a lot better than it was when we started creating CLAW. 
I recall being surprised on several occasions by reading about stuff that we 
had to figure out by trial-and-error. (Of course, that probably came about 
because of their anti-trust problems. One of the things they agreed to in 
the settlements was to fully document all APIs. The typical open source 
library probably doesn't have legal reasons for getting the documentation 
correct and complete. ;-)

                                             Randy.



      reply	other threads:[~2016-02-22 23:56 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-17 15:37 Vulkan is here! olivier.henley
2016-02-17 20:31 ` Randy Brukardt
2016-02-17 22:37   ` Luke A. Guest
2016-02-17 23:26   ` olivier.henley
2016-02-17 22:37 ` Luke A. Guest
2016-02-17 23:56   ` olivier.henley
2016-02-18  0:20     ` Olivier Henley
2016-02-18  1:22     ` Luke A. Guest
2016-02-18 15:58       ` Olivier Henley
2016-02-18 18:32         ` Per Sandberg
2016-02-18 23:21           ` Simon Wright
2016-02-19  5:14             ` Per Sandberg
2016-02-19  6:53               ` Per Sandberg
2016-02-19  8:20               ` Simon Wright
2016-02-19  9:01                 ` Per Sandberg
2016-02-19 12:05                   ` Simon Wright
2016-02-19 13:14                     ` G.B.
2016-02-19  4:21     ` thick bindings, was " tmoran
2016-02-19 13:07       ` Olivier Henley
2016-02-19 15:38         ` Alejandro R. Mosteo
2016-02-19 16:54           ` Lucretia
2016-02-19 17:28             ` Per Sandberg
2016-02-19 17:41               ` Lucretia
2016-02-19 18:02                 ` Lucretia
2016-02-19 19:53                   ` Per Sandberg
2016-02-19 22:28         ` Randy Brukardt
2016-02-19 23:32           ` Olivier Henley
2016-02-20  0:26           ` Luke A. Guest
2016-02-20  6:28           ` tmoran
2016-02-22 23:56             ` Randy Brukardt [this message]
replies disabled

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