comp.lang.ada
 help / color / mirror / Atom feed
* Re: an you get this for me?
       [not found] <357FE61F.B8F81BFC@boeing.com>
@ 1998-06-11  0:00 ` Peter Amey
  0 siblings, 0 replies; only message in thread
From: Peter Amey @ 1998-06-11  0:00 UTC (permalink / raw)



> 
> 4. Safer C by Les Hatton discusses use of C in safety critical systems
> and contains a comparision with Ada.
> 

I recommend treating this book with a certain amount of caution;  it manages 
to draw some rather bizarre conclusions.

For example, Les Hatton points to the existence of SPARK as some sort of 
proof that Ada must be "dangerous" - why invent a secure subset if the 
language is already "safe"?  The reality, of course, is that it is only 
_because_ the basic foundations of Ada are so good that is was possible to 
define SPARK.  A useable subset of C with SPARK's properties would be very 
difficult to produce (and it certainly wouldn't be a high-level language 
with support for abstraction etc.).  A SPARK-like subset of C++ is probably 
impossible.

Having dismissed Ada he then goes on to show that C is ok (providing you 
don't make any mistakes) and you use rafts of (his) tools to bring checking 
up to about the level of that performed by an Ada compiler.

George Romanski of Aonix has quite a good review of the book which I think 
is available from their web site.

Safety-critical systems involve unique problems including the need to be 
able to demonstrate, prior to any in-service experience, that the system 
_will_ be safe when deployed.  An essential basis for such a demonstration 
is a programming language with clear semantics that can be reasoned about.  
Ada is probably the only commercially-supported foundation on which such a 
language can built.

-- 
--------------------------------------------------------------------------- 
  
      __         Peter Amey, Product Manager
        )                    Praxis Critical Systems Ltd
       /                     20, Manvers Street, Bath, BA1 1PX
      / 0        Tel: +44 (0)1225 466991
     (_/         Fax: +44 (0)1225 469006
                 http://www.praxis-cs.co.uk/
 --------------------------------------------------------------------------




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-06-11  0:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <357FE61F.B8F81BFC@boeing.com>
1998-06-11  0:00 ` an you get this for me? Peter Amey

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