From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: Luke A. Guest Newsgroups: comp.lang.ada Subject: Re: Status of SDLAda Date: Tue, 13 Sep 2016 02:00:16 +0100 Organization: Aioe.org NNTP Server Message-ID: <1989829985.495420829.947984.laguest-archeia.com@nntp.aioe.org> References: <2017734217.495413589.461127.laguest-archeia.com@nntp.aioe.org> <8f9939ae-f9f9-44d6-84c5-83c283212579@googlegroups.com> NNTP-Posting-Host: sJwsuAfPfYOm33XjRUv6qQ.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: NewsTap/5.1.8 (iPhone/iPod Touch) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:dMyjtIuZPgi/rpQwi8HSdKWiWX8= Xref: news.eternal-september.org comp.lang.ada:31763 Date: 2016-09-13T02:00:16+01:00 List-Id: Aurele 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.