From: Luke A. Guest <laguest@archeia.com>
Subject: Re: Status of SDLAda
Date: Mon, 12 Sep 2016 23:57:23 +0100
Date: 2016-09-12T23:57:23+01:00 [thread overview]
Message-ID: <2017734217.495413589.461127.laguest-archeia.com@nntp.aioe.org> (raw)
In-Reply-To: d4ecd931-9794-45aa-9d04-b05867294cf3@googlegroups.com
Aurele <aurele.vitali@gmail.com> wrote:
>> There is an unfinished binding to the SDL2 library called SDLAda
>
> This looks like a "thick" binding to the SDL library:
>
> https://www.libsdl.org/
>
> Would having a "thin" binding to the SDL library not have been a better approach?
No. If you just want to write C in Ada use a thin binding.
And why are the API names all different (what happened to SDL_ from the
name).
Why the hell would you use C's naming convention in a language that
supports overloading, the reason why C libs add a namespace in function
names is because C can't do overloading.
The name's aren't different! The names may be reorganised based on package,
I.e. SDL.Video.Initialise.
Anyway, nice code. Does SDLAda offer more than whats already (and used) in
the library?
>
Yes, array slices to textures for one, allows sub image copying using Ada
semantics. Also texture iterators, see the moose example.
next prev parent reply other threads:[~2016-09-12 22:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-10 9:25 Status of SDLAda Michael B.
2016-09-12 1:10 ` Luke A. Guest
2016-09-12 1:12 ` Luke A. Guest
2016-09-12 19:40 ` Michael B.
2016-09-12 22:01 ` Luke A. Guest
2016-09-16 17:21 ` Michael B.
2016-09-16 20:58 ` Luke A. Guest
2016-09-12 21:39 ` Aurele
2016-09-12 22:57 ` Luke A. Guest [this message]
2016-09-12 23:33 ` Aurele
2016-09-13 1:00 ` Luke A. Guest
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox