comp.lang.ada
 help / color / mirror / Atom feed
From: dvdeug@x8b4e516e.dhcp.okstate.edu (David Starner)
Subject: Re: Ada and QNX
Date: 2000/10/16
Date: 2000-10-16T00:00:00+00:00	[thread overview]
Message-ID: <8sfg8p$8q61@news.cis.okstate.edu> (raw)
In-Reply-To: 39EB283A.9F7B4F76@motorola.com

On Mon, 16 Oct 2000 11:09:30 -0500, Igor Kovalenko wrote:
>Perhaps my personal doubts aren't that personal, huh? Nobody appears to
>write an OS in Ada, being so good for system level work. 

Tradition; what the programmers know; popularity; compiler availability - 
all reasons why OSs are implemented in the langauges they are. 

>And by the way,
>many people say that GCC does not generate good code for C, so I'm kinda
>curious how does GNAT manage to generate good code for such a more
>complex language as Ada. 

GCC produces pretty good code. It's not best, but it's not bad code either.
Ada's range constraints can often help the compile produce better code than
a language without range constraints?

As for Ada compilers, I remember a Dr. Dobbs article a few years back,
an interview with Prof. Kahan, who pointed out that the only compiler
to take full advantage of the ix87 stack was one specific Ada compiler.
Like all other compilers, Ada compilers range from the good to the bad.

>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.

Why would you suspect that? What justifaction would you have to assume that?
It's just like C - you can implement the C library in a portable way, or
an efficent way, and it varies, but most good C implementations are done
the efficent way. Same with Ada.

-- 
David Starner - dstarner98@aasaa.ofe.org
http://dvdeug.dhis.org
If you wish to strive for peace of soul then believe; 
if you wish to be a devotee of truth, then inquire.
   -- Friedrich Nietzsche




  parent 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   ` Robert Dewar
2000-10-14  0:00     ` ahummmm
2000-10-15  0:00       ` James Boucher
2000-10-15  0:00         ` Steve Bellenot
2000-10-15  0:00       ` Lao Xiao Hai
2000-10-16  5:27         ` Igor Kovalenko
2000-10-16  0:00           ` Marin David Condic
2000-10-16  0:00             ` Igor Kovalenko
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 Armin Steinhoff
2000-10-16  0:00               ` Gautier
2000-10-16  0:00               ` David Starner [this message]
2000-10-16  0:00               ` 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 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                   ` Gautier
2000-10-17  0:00                     ` Armin Steinhoff
2000-10-17  0:00                   ` aek
2000-10-17  0:00                     ` Igor Kovalenko
2000-10-17  0:00                       ` Ted Dennison
2000-10-17  0:00                       ` Pat Rogers
2000-10-17  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-18  0:00                           ` Ted Dennison
2000-10-18  0:00                             ` Pat Rogers
2000-10-18  0:00                               ` Igor Kovalenko
2000-10-18  0:00                             ` Igor Kovalenko
2000-10-17  0:00                     ` Gautier
2000-10-16  0:00           ` Gautier
2000-10-16  0:00           ` Ken Garlington
2000-10-17  0:00         ` mjsilva
2000-10-17  0:00           ` Ted Dennison
2000-10-17  0:00             ` Buyer's Remorse? (was Re: Ada and QNX) mjsilva
2000-10-17  0:00             ` Ada and QNX mjsilva
2000-09-30  0:00   ` gdemont
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