comp.lang.ada
 help / color / mirror / Atom feed
From: Luke A. Guest <laguest@archeia.com>
Subject: Re: thick bindings, was Re: Vulkan is here!
Date: Sat, 20 Feb 2016 00:26:48 +0000
Date: 2016-02-20T00:26:48+00:00	[thread overview]
Message-ID: <1344129495.477620566.501379.laguest-archeia.com@nntp.aioe.org> (raw)
In-Reply-To: na84u3$hem$1@loke.gir.dk

Randy Brukardt <randy@rrsoftware.com> wrote:

> True thin bindings are trivial to make (and can be pretty much automated), 
> but they completely lose any advantage to using Ada. Pretty much the only 
> thing to do with a true thin-binding is use it to make a thicker binding, 
> else you would be better off writing in C. (C has meager correctness 
> checking, but you lose even that when you cross the boundary between 
> languages. The use of Ada is actually a negative in such circumstances.)

Vulkan really is an unusual API in that there is supposed to be minimal to
no error checking at the lowest layer. The higher layers do the checking
then when you release the app you turn off the debugging layers.

The vk.xml file already separates bit masks and enums properly.

I think this is likely to be a medium binding tbh.

Luke

  parent reply	other threads:[~2016-02-20  0:26 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 [this message]
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