comp.lang.ada
 help / color / mirror / Atom feed
From: "Alejandro R. Mosteo" <alejandro@mosteo.com>
Subject: Re: thick bindings, was Re: Vulkan is here!
Date: Fri, 19 Feb 2016 16:38:12 +0100
Date: 2016-02-19T16:38:12+01:00	[thread overview]
Message-ID: <na7cni$drc$1@dont-email.me> (raw)
In-Reply-To: <66c5617d-49e6-40eb-9341-31c6664b1f6c@googlegroups.com>

On 19/02/16 14:07, Olivier Henley wrote:
> On Thursday, February 18, 2016 at 11:21:26 PM UTC-5, tmo...@acm.org wrote:
>> A thick binding, like any API, creates an abstraction intended to be
>> easier and safer to program than coding at a lower level.  If you don't
>> like the abstraction, don't use it - it's straightforward to code the
>> necessary lower level thin binding instead.
>>
>> A thick binding makes many assumptions about the state of the machine and
>> coding at the thin binding level likely makes those invalid.  Luring the
>> programmer into trying to code at two different abstraction levels at
>> the same time is not a kindness.
>
> 1. I understand the goals of a thick binding.
>
> 2. I questioned its architecture.
>
> 3. I answered that previously: It is "nicer" when you assume that every one swears by your coding paradigm (the one forced by the thick layer)... which is, I think, close minded. A standalone thin layer does not prevent anyone else from undertaking a thick layer over it and still retains freedom for others.
>
> 4. It is not THAT straightforward to make a pristine lower level thin binding as both Per Sandberg and Simon Wright have to exchange to clarify possible caveats.

And nowadays the thinnest of bindings should be even easier: 
http://www.adacore.com/adaanswers/gems/gem-59/

Not pretty IME though, but can be a start.



  reply	other threads:[~2016-02-19 15:38 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 [this message]
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
replies disabled

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