comp.lang.ada
 help / color / mirror / Atom feed
* Reference-oriented language and high-integrity software
@ 2006-11-03  8:03 Maciej Sobczak
  2006-11-03  8:58 ` Ludovic Brenta
  2006-11-03 12:37 ` Peter Amey
  0 siblings, 2 replies; 13+ messages in thread
From: Maciej Sobczak @ 2006-11-03  8:03 UTC (permalink / raw)


John Barnes in "Programming in Ada 2005", in the introductory section in 
the chapter devoted to access types, writes:

"Java is currently popular. It has pointers which are called references. 
In fact almost everything is declared using references although this is 
hidden from the user. This means that Java is inappropriate for high 
integrity applications."

What is interesting is the following implication which JB leaves without 
explanation:

references => no high integrity

It's also clear that the above statement applies not only to Java in 
particular, but to every other language that is similarly 
"reference-oriented".

My question is - where this implication comes from?

Taking into account that JB also wrote a book about SPARK, some 
reasoning can be found there and my understanding (simplified) is that 
reference-oriented language implies a heavy use of dynamic memory, which 
makes it impractical/impossible to perform any static analysis of memory 
consumption. Garbage collectors add their own factors to the problem.

Is the above a reasonable explanation? Is it the only one? What else 
makes the reference-oriented languages inappropriate for high-integrity 
software?

And last but not least, how does the JB's statement stand in front of 
things like RealTime Java or even HIJA (High-Integrity Java)?


-- 
Maciej Sobczak : http://www.msobczak.com/
Programming    : http://www.msobczak.com/prog/



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2006-11-06  7:14 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-03  8:03 Reference-oriented language and high-integrity software Maciej Sobczak
2006-11-03  8:58 ` Ludovic Brenta
2006-11-03  9:06   ` Maciej Sobczak
2006-11-03  9:43     ` roderick.chapman
2006-11-03 11:25       ` Georg Bauhaus
2006-11-03 11:15     ` Ludovic Brenta
2006-11-03 11:59       ` Georg Bauhaus
2006-11-03 12:37 ` Peter Amey
2006-11-03 14:44   ` Martin Krischik
2006-11-03 15:27   ` Dr. Adrian Wrigley
2006-11-03 16:17     ` Simon Wright
2006-11-03 17:30     ` Jean-Pierre Rosen
2006-11-06  7:14     ` Martin Krischik

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