From: Jeffrey Carter <jrcarter@acm.org>
Subject: Re: Clueless :)
Date: Wed, 19 Mar 2003 02:21:22 GMT
Date: 2003-03-19T02:21:22+00:00 [thread overview]
Message-ID: <3E77D44B.7080304@acm.org> (raw)
In-Reply-To: qHEda.2435$wK6.104835@news.siol.net
Karel Miklav wrote:
> And one more question about the concept supported by keywords bounded,
> unbounded, dynamic, fixed-length etc. Like first I must admit I don't
> get it; why is there a need for this in Ada, when in tens of other
> languages I've seen there is not? And why there are bounded, unbounded
> and dynamic versions of Booch components but no polymorphic? Are people
> really making collections of 30 (the number is not important but the
> last time I made a fixed structure it was on C64 long time ago) elements
> like Simon Wright in his Case study?
Lots of Ada programs are in safety critical embedded real-time systems,
like flying commercial airliners, controlling passenger trains, and the
like. It's often unacceptable in such systems to use dynamic allocation
("unbounded" structures) so bounded structures are used, with a maximum
size based on worse case analysis. So, yes, there really are people
creating fixed maximum size structures even today.
Other languages may have more limited application areas, or may be used
by less knowledgeable people, and so may only provide unbounded structures.
--
Jeff Carter
"Don't knock masturbation. It's sex with someone I love."
Annie Hall
prev parent reply other threads:[~2003-03-19 2:21 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-18 12:55 Clueless :) Karel Miklav
2003-03-18 16:37 ` Martin Krischik
2003-03-20 21:00 ` Simon Wright
2003-03-21 7:39 ` Karel Miklav
2003-03-21 8:34 ` Karel Miklav
2003-03-21 9:26 ` Karel Miklav
2003-03-21 18:01 ` Simon Wright
2003-03-18 20:42 ` Matthew Heaney
2003-03-19 6:43 ` Karel Miklav
2003-03-19 2:21 ` Jeffrey Carter [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox