comp.lang.ada
 help / color / mirror / Atom feed
From: "Nasser M. Abbasi" <nma@12000.org>
Subject: Re: is getting OpenGL to work with Ada a lost cause?
Date: Sun, 03 Aug 2014 20:38:28 -0500
Date: 2014-08-03T20:38:28-05:00	[thread overview]
Message-ID: <lrmo6k$oa9$1@speranza.aioe.org> (raw)
In-Reply-To: OHtDv.136944$3Y7.11679@fx12.iad

On 8/3/2014 11:46 AM, Shark8 wrote:
> On 03-Aug-14 03:54, Dmitry A. Kazakov wrote:
>> I have no idea why existing Ada bindings are so difficult to make working.
>
> Because in order to make a good [thick] Ada binding you have to "strain"
> all the crap from the gl_enum soup; ideally this would entail the
> creation of specific enumerations for the various parameters of the
> various functions but with the addition of subtyping for various
> near-complete matches on values.
>

I do not think even the concept of thick Ada binding to openGL is
a good idea at all. The reason is not technical. But since all
documentation on the net, and the books on openGL all use
the 'thin' binding (original API), then if Ada would use its
own thick binding, it means one can not make use of all these
books and tutorials anymore.  (I have openGL books, all use
the C API, I'd like to still use these if I want to use Ada).

Thin, 1:1, binding to commonly used C libraries is the best, since
it allows one to use existing documentation to learn how to use it.

--Nasser




  reply	other threads:[~2014-08-04  1:38 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-02 20:54 is getting OpenGL to work with Ada a lost cause? pincerfae
2014-08-03  9:35 ` jsquirek
2014-08-03  9:54   ` Dmitry A. Kazakov
2014-08-03 10:27     ` jsquirek
2014-08-03 11:56       ` Dmitry A. Kazakov
2014-08-03 12:40         ` jsquirek
2014-08-04 12:52           ` Dmitry A. Kazakov
2014-08-04 19:14             ` Björn Lundin
2014-08-03 16:46     ` Shark8
2014-08-04  1:38       ` Nasser M. Abbasi [this message]
2014-08-03 16:43   ` Shark8
2014-08-03 12:12 ` francois_fabien
2014-08-05 16:24 ` leonid.dulman
2014-08-13 23:23   ` pincerfae
2014-08-14  1:47     ` Shark8
2014-08-15 14:53       ` Stephen Leake
2014-08-15 16:50         ` Shark8
2014-08-15 13:28     ` jsquirek
2014-08-16 19:33       ` Nasser M. Abbasi
2014-08-16 22:13         ` pincerfae
2014-08-17 11:32           ` Luke A. Guest
2014-08-18 16:35             ` Shark8
2014-08-18 20:26               ` Luke A. Guest
2014-08-18 21:01                 ` Shark8
2014-08-18 21:44                   ` Luke A. Guest
2014-08-18 21:49                   ` Nasser M. Abbasi
2014-08-18 22:21                     ` Robert A Duff
2014-08-19  9:39                       ` Simon Wright
2014-08-19  1:25                     ` Shark8
2014-08-19  9:45                       ` Simon Wright
2014-08-19 21:59                         ` Shark8
2014-08-20 20:09                         ` erlo
2014-08-19  7:42                     ` Dmitry A. Kazakov
2014-08-19 11:36                     ` Björn Lundin
2014-08-25  5:27                     ` Tero Koskinen
2014-08-19  0:57           ` Nasser M. Abbasi
2014-08-19  1:29             ` Luke A. Guest
2014-08-24 22:35               ` pincerfae
2014-08-25  4:21                 ` jsquirek
2014-08-25 15:58                   ` Lucretia
2014-08-24 17:16 ` gdotone
2014-08-24 18:49   ` gautier_niouzes
2014-09-02 16:39 ` Quentin Ochem
2014-09-12  8:14   ` reinkor
replies disabled

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