comp.lang.ada
 help / color / mirror / Atom feed
From: gautier_niouzes@hotmail.com
Subject: Re: is getting OpenGL to work with Ada a lost cause?
Date: Sun, 24 Aug 2014 11:49:32 -0700 (PDT)
Date: 2014-08-24T11:49:32-07:00	[thread overview]
Message-ID: <f08089e9-51b8-4a58-a832-58a43639ac5c@googlegroups.com> (raw)
In-Reply-To: <81012988-f550-4a82-88eb-7bdbd05a3789@googlegroups.com>

> 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

  reply	other threads:[~2014-08-24 18:49 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
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 [this message]
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