comp.lang.ada
 help / color / mirror / Atom feed
From: craig@elaine35.Stanford.EDU (Craig Chambers)
Subject: Re: ada-c++ productivity
Date: 16 Mar 91 00:06:24 GMT	[thread overview]
Message-ID: <1991Mar16.000624.2513@leland.Stanford.EDU> (raw)
In-Reply-To: 1991Mar15.224626.27077@aero.org

In article <1991Mar15.224626.27077@aero.org> jordan@aero.org (Larry M. Jordan) writes:
>Language	Inheritance	DynamicBnd'g	Type[T]	Except.	Task 	LibMgr
>C++		yes-MI/class	yes-vft		no[1]	no[2]	no	hand
>Objective-C	yes-SI/class	yes-tlu		no	no	no	hand
>Smalltalk	yes-SI/class	yes-tlu		no	no	no	?
>SELF		yes-MI/object	yes-?		no	no	no	?
>TP6.0		yes-SI/class	yes-vft		no	no	no	auto
>Eiffel		yes-MI/class	yes-vft		yes	yes	no	auto
>Ada		yes[3]		no		no[4]	yes	yes	auto

I'd argue that the mechanism for implementing dynamic binding is not
so important, certainlyt not as important as many of the other
features you list.  But if you want to include it, Self's
implementation of dynamic binding is based on hash table lookup with
possible optimizations like in-line caching (also present in the
ParcPlace Smalltalk-80 implementation), static binding, and inlining.
I'd also guess that Eiffel uses tlu instead of vft to implement
dynamic binding.

Both Smalltalk and Self support multiple lightweight communicating
threads within a single address space, so those values should probably
read "yes" (depending on what you mean by "Task").

Also, both Smalltalk and Self implementations are effectively one big
library manager.  If you require some sort of separate compilation,
then they don't have it, but if you just want automatic linking and
compilation after programming changes or the ability to invoke code of
objects/classes written by other people, then they are nice
environments.

-- Craig Chambers

P.S.  The eariler mention of "Cardelli and Wegner's" definition of OO
should be attributed to just Wegner.  Wegner's definitions are overly
narrow and constrained in my view, and I believe that Cardelli would
want to be able to form his own definitions.

  reply	other threads:[~1991-03-16  0:06 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1991-03-07 16:31 ada-c++ productivity Craig C Johnson
1991-03-08 20:58 ` Jim Showalter
1991-03-10 15:12 ` Joachim Wiese
1991-03-13 23:12   ` Joe Buck
1991-03-15  1:00     ` Robert I. Eachus
1991-03-15 22:46       ` Larry M. Jordan
1991-03-16  0:06         ` Craig Chambers [this message]
1991-03-16 20:52           ` Ted Holden
1991-03-17  8:38             ` MUNTS PHILLIP A
1991-03-17 14:27             ` Ralph Reid III
1991-03-17 20:26               ` csq031
1991-03-18  4:57               ` Michael Feldman
1991-03-18 13:25               ` Matthew S. Granger
1991-03-18 23:17               ` Paul Stachour
1991-03-19 21:17                 ` Jim Showalter
1991-03-19 16:14               ` klimas
1991-03-25 22:01               ` Terry J. Westley
1991-03-18  2:12             ` Jim Showalter
1991-03-18 18:13             ` arny.b.engelson
1991-03-19  7:44               ` Jim Showalter
1991-03-18 22:12             ` martin
1991-03-16 19:02         ` Ralph Johnson
1991-03-19 16:40           ` klimas
1991-03-21  3:12             ` Jim Showalter
1991-03-17  0:47         ` Jim Showalter
1991-03-18 23:55           ` adam
1991-03-25 12:42         ` Steven D. Litvinchouk
1991-03-17  0:40     ` Jim Showalter
  -- strict thread matches above, loose matches on Subject: below --
1991-03-18 15:27 simonian richard 66449
     [not found] <668465900@<jls>
1991-03-20 14:03 ` ryer
1991-03-21 15:26   ` Gary W Smith
1991-03-21 18:50     ` Depriest
1991-03-26  2:32       ` Jim Showalter
1991-03-26 14:57         ` Michael Feldman
1991-03-27  3:09           ` Jim Showalter
1991-03-29 20:30 ` ryer
1991-04-01 14:15   ` Depriest
replies disabled

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