From: dennison@telepath.com
Subject: Re: static objects in ADA
Date: 1999/04/26
Date: 1999-04-26T00:00:00+00:00 [thread overview]
Message-ID: <7g1uvn$fjr$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 4IaN6CA84vI3EwTh@tioman.demon.co.uk
In article <4IaN6CA84vI3EwTh@tioman.demon.co.uk>,
Mark Elson <marke@tioman.demon.co.uk> wrote:
> The "advice" has really annoyed me. It came from Green Hills and they
> were actually telling us that we should abandon an object-orientated
> design and use structured methods instead to avoid the overhead of
> object initialisation (which they believed would give us "long" start-up
> times). In fact, we are not creating any significantly large objects at
> start-up time, anyway, so I felt this was very bad advice. IMO, at the
> implementation level OO and structured methods might only differ in the
> organisation of code. There should be no reason why OO-designed code
> should be inherently less efficient than a structured design. Possibly
> inefficient activities such as dynamic memory allocation can be avoided,
> by design, if required. In fact we intend to do this for other reasons
> as the app will be safety-critical.
Compiler developers are notoriously anti-OO. Perhaps that is because of all
the extra work those OO features cause them. :-)
Hopefully this is a comment on their perception of OO-designed code, and not
on their compiler's efficincy in translating tagged-type code into machine
language. Our current project is realtime, is using a GreenHills compiler,
and it is OO through and through. But then, we don't really care too much
about startup time either.
--
T.E.D.
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
next prev parent reply other threads:[~1999-04-26 0:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-04-21 0:00 static objects in ADA Mark Elson
1999-04-21 0:00 ` dennison
1999-04-21 0:00 ` Marin David Condic
1999-04-21 0:00 ` Stephen Leake
1999-04-22 0:00 ` Samuel Mize
1999-04-25 0:00 ` Mark Elson
1999-04-25 0:00 ` Robert Dewar
1999-04-26 0:00 ` dennison [this message]
1999-04-26 0:00 ` Robert Dewar
1999-05-07 0:00 ` Mark Elson
1999-05-07 0:00 ` dennison
1999-04-25 0:00 ` Matthew Heaney
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox