comp.lang.ada
 help / color / mirror / Atom feed
From: Niklas Holsti <niklas.holsti@tidorum.invalid>
Subject: Re: Differences between Ada 83 and other revisions
Date: Fri, 14 Feb 2014 00:00:00 +0200
Date: 2014-02-14T00:00:00+02:00	[thread overview]
Message-ID: <bm4tirFlj8gU1@mid.individual.net> (raw)
In-Reply-To: <3872de7d-2df4-4ddb-8348-45eb03b3588e@googlegroups.com>

On 14-02-13 23:25 , yoursurrogategod@gmail.com wrote:
> On Thursday, February 13, 2014 2:44:47 PM UTC-5, Niklas Holsti wrote:

>> However, Ada 95 and later Ada standards extend the language beyond Ada
>> 83 in many ways. Some extensions include new kinds of run-time checks
>> for new kinds of run-time errors, which cannot be detected at compile
>> time. Ada 83 had a smaller set of run-time checks and errors, so it can
>> be argued that programs using the Ada 95 and later extensions have an
>> increased risk of failing at run-time even if their compilation succeeds.
>>
>> I don't know if this argument is valid; I don't see an increased risk of
>> run-time failure in my own programming. But I use the new features
>> rather conservatively and sparingly. Moreover, some of the new features
>> make it easier to avoid some Ada 83 -level run-time errors -- for
>> example, controlled types help to avoid errors in memory allocation and
>> deallocation.
>>
> 
> So it would be safe to say that the newer versions of Ada have not
> enabled the creation of less reliable code.

I would say so. You may find other people who disapprove of certain
language details (such as allowing "out" and "in out" parameters for
functions), due to reliability concerns.

> And that the newer versions are overall qualitatively better (hence
> them being used in things such as Thaly's Bullet and more than a
> few aerospace projects.

"Better" is application-specific and perhaps subjective. Certainly the
newer Ada standards are more powerful, but you may not be able to, or
want to, use all the new powerful features in certain applications. For
example, I am currently working in Ada 95, and without the Ada
run-time-system, because this is what the customer has defined as the
HW/SW platform for the application (satellite SW).

-- 
Niklas Holsti
Tidorum Ltd
niklas holsti tidorum fi
      .      @       .

  reply	other threads:[~2014-02-13 22:00 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-13 15:59 Differences between Ada 83 and other revisions yoursurrogategod
2014-02-13 16:12 ` adambeneschan
2014-02-13 18:00   ` yoursurrogategod
2014-02-13 18:07 ` AdaMagica
2014-02-13 19:44 ` Niklas Holsti
2014-02-13 21:25   ` yoursurrogategod
2014-02-13 22:00     ` Niklas Holsti [this message]
2014-02-13 22:18       ` adambeneschan
2014-02-14 13:18         ` yoursurrogategod
2014-02-14 13:53           ` AdaMagica
2014-02-14 14:06           ` Jacob Sparre Andersen
2014-02-14 16:47           ` adambeneschan
2014-02-14 14:08         ` Robert A Duff
2014-02-16  9:36         ` Martin
2014-02-16 14:13           ` Robert A Duff
2014-02-16 15:58             ` J-P. Rosen
2014-02-19 22:09               ` Robert A Duff
2014-02-19 22:23                 ` J-P. Rosen
2014-02-19 22:37                   ` Robert A Duff
2014-04-19  8:59                     ` Jacob Sparre Andersen
2014-02-19 22:34                 ` adambeneschan
2014-02-19 22:58                   ` Robert A Duff
2014-02-13 21:28 ` yoursurrogategod
2014-02-13 23:31   ` Randy Brukardt
2014-02-20 10:30     ` john
replies disabled

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