comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: New to Ada, why these warning messages?
Date: Fri, 1 Jan 2016 16:50:41 -0700
Date: 2016-01-01T16:50:41-07:00	[thread overview]
Message-ID: <n6737j$q54$1@dont-email.me> (raw)
In-Reply-To: <n66n2d$qvb$1@reader1.panix.com>

On 01/01/2016 01:20 PM, Dale Dellutri wrote:
> 
> Also, a good first Ada book?
> 
> I found "Programming in Ada 2012" by John Barnes.  It's rather
> large.  I was hoping for something like "The C Programming
> Language, 2nd edition" by Kernighan and Ritchie.  Is there
> anything that concise?

Barnes is good and very comprehensive, if expensive and heavy. Since you have
programming experience , I recommend /Ada Distilled/, available at

http://www.adaic.org/learn/materials/

specifically,

http://www.adaic.org/wp-content/uploads/2010/05/Ada-Distilled-24-January-2011-Ada-2005-Version.pdf

It's for ISO/IEC 8652:2007, but if you need Ada 12 it's easy enough to pick up
the new stuff. Rumor has it there's an Ada-12 version coming soon.

> (My goal is to determine whether it would be better to convert
> a large cache of Fortran 95 programs to C or Ada.  I already
> know the problems converting to C.  I need to convert some
> Fortran programs to Ada to determine what problems might occur.)

We have hard data across multiple application domains showing that deployed C
has 4 times the errors of deployed Ada. I'm not aware of any data for Ada
compared to Fortran, but I wouldn't be surprised if Ada has an edge there, too.
So if this is a cost-plus DoD project doing this to drive up costs through
unnecessary work, converting to C is the way to go. Where correctness is
tantamount, Ada is the language of choice.

-- 
Jeff Carter
"Run away! Run away!"
Monty Python and the Holy Grail
58


  parent reply	other threads:[~2016-01-01 23:50 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-01  2:19 New to Ada, why these warning messages? Dale Dellutri
2016-01-01  2:47 ` David Botton
2016-01-01  5:54 ` Jeffrey R. Carter
2016-01-01 21:18   ` Bob Duff
2016-01-01 17:30 ` Dennis Lee Bieber
2016-01-01 20:20 ` Dale Dellutri
2016-01-01 21:24   ` Bob Duff
2016-01-01 21:54     ` Dale Dellutri
2016-01-02 12:45       ` Simon Clubley
2016-01-02 14:21         ` Britt
2016-01-02 15:29           ` Simon Clubley
2016-01-03  7:11         ` J-P. Rosen
2016-01-03  9:32           ` Simon Wright
2016-01-03  9:59           ` Simon Clubley
2016-01-03 14:23             ` David Botton
2016-01-03 15:48             ` J-P. Rosen
2016-01-03 18:03               ` David Botton
2016-01-03 18:20                 ` Pascal Obry
2016-01-03 19:05                   ` David Botton
2016-01-01 23:50   ` Jeffrey R. Carter [this message]
2016-01-02 21:05     ` Bob Duff
2016-01-02 22:53       ` Jeffrey R. Carter
2016-01-02 17:59   ` Dennis Lee Bieber
2016-01-02 18:37     ` Paul Rubin
2016-01-02 21:03       ` Bob Duff
2016-01-02 21:08     ` Bob Duff
replies disabled

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