From: Maciej Sobczak <no.spam@no.spam.com>
Subject: Reference-oriented language and high-integrity software
Date: Fri, 03 Nov 2006 09:03:07 +0100
Date: 2006-11-03T09:03:07+01:00 [thread overview]
Message-ID: <eiet3r$2on$1@cernne03.cern.ch> (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/
next reply other threads:[~2006-11-03 8:03 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-03 8:03 Maciej Sobczak [this message]
2006-11-03 8:58 ` Reference-oriented language and high-integrity software 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
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox