From: bobduff@world.std.com (Robert A Duff)
Subject: Re: ****************** Ada vs C++ Help ********************
Date: 1996/09/03
Date: 1996-09-03T00:00:00+00:00 [thread overview]
Message-ID: <Dx5wKK.En7@world.std.com> (raw)
In-Reply-To: 508a18$1af@mtinsc01-mgt.ops.worldnet.att.net
In article <508a18$1af@mtinsc01-mgt.ops.worldnet.att.net>,
John M. Miano <miano@worldnet.att.net> wrote:
>1. Code size and execution speed are a function of the compiler and not the
>language.
Partly true. However, it's not very useful to someone choosing a
language, to tell them "it is theoretically possible to implement
so-and-so language efficiently". Existing implementations are all that
matter, and anything else is vaporware.
Furthermore, language design decisions can have a strong effect on
whether it is feasible, or even possible, to generate efficient code.
For example, a dispatching function call can be done in Ada or C++ by
calling indirect through a table of pointers to functions. It is
*possible* to do the same in Smalltalk in many (perhaps most) cases, but
it's not *feasible*, since it requires global analysis of the whole
program at link time, which is takes too long for large programs. So
most implementations of Smalltalk use a rather slow method lookup
mechanism. I think it's fair to blame that on the language, and not on
the implementations.
- Bob
next prev parent reply other threads:[~1996-09-03 0:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-08-30 0:00 ****************** Ada vs C++ Help ******************** Sarner-BA-MD
1996-08-30 0:00 ` Adam Beneschan
1996-08-31 0:00 ` David C. Hoos, Sr.
1996-08-31 0:00 ` John M. Miano
1996-09-03 0:00 ` Robert A Duff [this message]
1996-09-02 0:00 ` John Herro
1996-09-03 0:00 ` Bob Kitzberger
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox