comp.lang.ada
 help / color / mirror / Atom feed
From: Luke A. Guest <laguest@archeia.com>
Subject: Re: Status of SDLAda
Date: Tue, 13 Sep 2016 02:00:16 +0100
Date: 2016-09-13T02:00:16+01:00	[thread overview]
Message-ID: <1989829985.495420829.947984.laguest-archeia.com@nntp.aioe.org> (raw)
In-Reply-To: 8f9939ae-f9f9-44d6-84c5-83c283212579@googlegroups.com

Aurele <aurele.vitali@gmail.com> wrote:
>> No. If you just want to write C in Ada use a thin binding.
> 
> Its not writing C in Ada when you "import" 

Sorry but I have to take issue with this. But if you only have a crude thin
binding to a C lib you are essentially programming C in Ada.

an entry from a C or stdcall library.  The SDLAda body pakages makes such
imports all over, hence why I said SDLAda is a "thick" 

Well of course the do, have to import them somehow, I just generally wrap
anything that should be wrapped and bind others in such a way that it won't
feel like C.

binding with new or extras features.  Nothing 
wrong with that and nothing wrong keeping SDL_ (if SDLAda it were a thin
binding).  

Again having SDL.SDL_ is stupid, yes I know you can "use SDL;"

Anyway, good luck, and its always good to see new Ada projects !
> 

Ta, hope you use it to produce something cool and prove that Ada is the
best choice for writing games in. Also to help get the compiler optimised
better in the newer 2012 features, iterators in particular as I think they
may still not be generating the best code, yet.




      reply	other threads:[~2016-09-13  1:00 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
2016-09-12 23:33     ` Aurele
2016-09-13  1:00       ` Luke A. Guest [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