comp.lang.ada
 help / color / mirror / Atom feed
From: Gautier <gautier.demontmollin@maths.unine.ch>
Subject: Re: Ada and QNX
Date: 2000/10/16
Date: 2000-10-16T00:00:00+00:00	[thread overview]
Message-ID: <39EB411B.42AA5EF3@maths.unine.ch> (raw)
In-Reply-To: 39EB283A.9F7B4F76@motorola.com

Igor:

> Summarizing what you and others replied, it looks like everything is
> cool with Ada. Just wondering why it is not yet really resurrected and
> blooming and shining in all its glory.

You should take courses about psychology of the masses...

> Perhaps my personal doubts aren't that personal, huh? Nobody appears to
> write an OS in Ada, being so good for system level work. And by the way,
> many people say that GCC does not generate good code for C,

Who says that ?! Did you play the famous Quake 1 game, it is entirely made
with GCC, including graphics...

> so I'm kinda curious how does GNAT manage to generate good code for
> such a more complex language as Ada.

It doesn't matter. With strong typing, GCC-GNAT knows better what animals
are the variables (not just pointers to something) and optimizes indices,
shifts, registers, inlinings, generics etc. nicely. You can take a look at
my pure-software 3D experiments (see link below).

> Aside from code generation itself, how do they
> manage to implement things like rendesvous in an efficient AND portable
> way? Such things normally belong to system-dependent runtime libraries,
> but in Ada they are part of language and having no proof I nevertheless
> suspect that they are implemented by trading efficiency for portability.

For tasking, I can't tell, but e.g. for exceptions, they don't alter at all
performance: they are well implemented !... Anyway you can see the resulting
assembler code (gcc -S -O2 -gnatpn) for checking what GCC/GNAT does...

____________________________________________________
Gautier  --  http://members.nbci.com/gdemont/e3d.htm




  reply	other threads:[~2000-10-16  0:00 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-29  0:00 Ada and QNX Michal Morawski
2000-09-29  0:00 ` Jeff Creem
2000-09-29  0:00   ` Armin Steinhoff
2000-09-29  0:00     ` Jeff Creem
2000-09-30  0:00       ` Armin Steinhoff
2000-10-03  0:00     ` Armin Steinhoff
2000-09-30  0:00 ` James Boucher
2000-09-30  0:00   ` gdemont
2000-09-30  0:00   ` Robert Dewar
2000-10-14  0:00     ` ahummmm
2000-10-15  0:00       ` Lao Xiao Hai
2000-10-16  5:27         ` Igor Kovalenko
2000-10-16  0:00           ` Ken Garlington
2000-10-16  0:00           ` mjsilva
2000-10-16  0:00             ` Igor Kovalenko
2000-10-16  0:00               ` Lao Xiao Hai
2000-10-16  0:00               ` mjsilva
2000-11-03  0:00                 ` mark_lundquist
2000-10-17  0:39               ` Robert Dewar
2000-10-17  5:00                 ` Igor Kovalenko
2000-10-17  0:00                   ` aek
2000-10-17  0:00                     ` Igor Kovalenko
2000-10-17  0:00                       ` Pat Rogers
2000-10-17  0:00                         ` Igor Kovalenko
2000-10-18  0:00                           ` Ted Dennison
2000-10-18  0:00                             ` Igor Kovalenko
2000-10-18  0:00                             ` Pat Rogers
2000-10-18  0:00                               ` Igor Kovalenko
2000-10-18  0:00                           ` Marin David Condic
2000-10-18  0:00                           ` Pat Rogers
2000-10-18  0:00                             ` Igor Kovalenko
2000-10-18  0:00                               ` Pat Rogers
2000-10-17  0:00                       ` Ted Dennison
2000-10-17  0:00                     ` Gautier
2000-10-17  0:00                   ` Gautier
2000-10-17  0:00                     ` Armin Steinhoff
2000-10-16  0:00           ` Gautier
2000-10-16  0:00           ` Marin David Condic
2000-10-16  0:00             ` Igor Kovalenko
2000-10-16  0:00               ` Gautier [this message]
2000-10-16  0:00               ` Armin Steinhoff
2000-10-16  0:00               ` Marin David Condic
2000-10-17  0:28                 ` Robert Dewar
2000-10-17  0:00                   ` Ted Dennison
2000-10-18  0:00                     ` Robert Dewar
2000-10-17  0:00                   ` Frode Tennebø
2000-10-17  0:00                   ` Armin Steinhoff
2000-10-17  0:00                   ` Larry Kilgallen
2000-10-18  0:00                     ` Robert Dewar
2000-10-17  0:00                   ` Steffen Huber
2000-11-03  5:11                   ` CMM in outside software (was Re: Ada and QNX) Robert I. Eachus
2000-11-03  5:34                     ` Ken Garlington
2000-10-16  0:00               ` Ada and QNX Robert Dewar
2000-10-17  5:38                 ` Igor Kovalenko
2000-10-17  0:00                   ` David C. Hoos, Sr.
2000-10-18  0:00                   ` Tarjei T. Jensen
2000-10-19  0:00                     ` ADA vs. SmallEiffel Armin Steinhoff
2000-10-16  0:00               ` Ada and QNX David Starner
2000-10-17  0:00         ` mjsilva
2000-10-17  0:00           ` Ted Dennison
2000-10-17  0:00             ` mjsilva
2000-10-17  0:00             ` Buyer's Remorse? (was Re: Ada and QNX) mjsilva
2000-10-15  0:00       ` Ada and QNX James Boucher
2000-10-15  0:00         ` Steve Bellenot
2000-09-30  0:00   ` Ted Dennison
2000-09-30  2:35 ` DuckE
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox