comp.lang.ada
 help / color / mirror / Atom feed
From: brashear@ns1.sw-eng.falls-church.va.us (Philip Brashear)
Subject: Re: Just a question...
Date: 1996/04/30
Date: 1996-04-30T00:00:00+00:00	[thread overview]
Message-ID: <4m4utf$h7h@ns1.sw-eng.falls-church.va.us> (raw)
In-Reply-To: 4m47pf$stq@news-e2b.gnn.com


In article <4m47pf$stq@news-e2b.gnn.com>, Roga Danar <alphasoft@gnn.com> wrote:
>Hi,
>
> 1) Ada is strongly typed and 
> 2)ya just can't use pointers to just anywhere and change them on 
>the fly.
> 3) Code will have bigger executables
> 4) You can't use pointers to functions.
>
> Briefly that's it,
>
> 
>-- Michael G. Smith
>
>To err is human, to moo, bovine
>


Undoubtedly, others will respond to this, but just in case:
1) Yes, Ada is strongly typed (thank goodness!)
2) Actually, you probably can use pointers to just (about) anywhere and
   change them on the fly, but you have to be very explicit about it.
   That's the Ada philosophy: you can do all sorts of unsafe programming,
   but (unlike some other languages) you have to do it deliberately and
   openly.
3) On what basis do you say that the code will generate bigger executables?
   I've seen papers showing that (with proper optimization switches) Ada
   code can result in smaller executables that assembler written by
   experienced assembler programmers.
4) Of course you can use pointers to functions.  See the Ada 95 RM or
   any good text on Ada 95.

Phil Brashear




  reply	other threads:[~1996-04-30  0:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-04-17  0:00 Just a question patrick lacheny
1996-04-17  0:00 ` Bob Kitzberger
1996-04-17  0:00 ` Carl Bowman
1996-04-17  0:00   ` Michael F Brenner
1996-04-17  0:00 ` Ian Ward
1996-04-29  0:00 ` Roga Danar
1996-04-30  0:00   ` Philip Brashear [this message]
1996-04-30  0:00   ` Robert Dewar
1996-04-30  0:00   ` Greg Bond
  -- strict thread matches above, loose matches on Subject: below --
1996-04-18  0:00 just " W. Wesley Groleau (Wes)
1996-04-22  0:00 ` Nasser Abbasi
1996-04-23  0:00 Just " W. Wesley Groleau (Wes)
replies disabled

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