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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.236.122.236 with SMTP id t72mr38301047yhh.15.1408906172620; Sun, 24 Aug 2014 11:49:32 -0700 (PDT) X-Received: by 10.140.93.181 with SMTP id d50mr340408qge.0.1408906172604; Sun, 24 Aug 2014 11:49:32 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!i13no2535077qae.1!news-out.google.com!j6ni7969qas.0!nntp.google.com!i13no2535076qae.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 24 Aug 2014 11:49:32 -0700 (PDT) In-Reply-To: <81012988-f550-4a82-88eb-7bdbd05a3789@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:120b:c3e3:9270:e519:1aca:75b0:5d1c; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG NNTP-Posting-Host: 2a02:120b:c3e3:9270:e519:1aca:75b0:5d1c References: <64ff459f-98c0-4fab-bcdd-d9fafe3311e6@googlegroups.com> <81012988-f550-4a82-88eb-7bdbd05a3789@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: is getting OpenGL to work with Ada a lost cause? From: gautier_niouzes@hotmail.com Injection-Date: Sun, 24 Aug 2014 18:49:32 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:21889 Date: 2014-08-24T11:49:32-07:00 List-Id: > newbie question: > > can the opengl specification be implemented in ADA? Why not ? However, it is useless: for OpenGL, either you access an implementation on a graphics card, which is mostly as hardware, or absent such a card, you access a software implementation which exists on most operating systems. For example on Windows, you access opengl.dll and do not need to care about how it is implemented. Perhaps a rare case where a DLL is _really_ useful, BTW... > would it be faster or slower comparing such an implementation in C, > well would it necessary have to be much slower? No need to be slower :-). If you are interested I have made long time ago a DOS 3D engine fully in Ada, with a rendering similar to Quake 1. Full software, no OpenGL. > is there an ada compiler that generates assembly directly, not using C then assembler? Probably only one compiler (AdaMagic) uses C as intermediary language, the other compilers generate directly machine language, as assembler or object code. _________________________ Gautier's Ada programming http://gautiersblog.blogspot.com/search/label/Ada