From: mcsun!sun4nl!cwi.nl!guido@uunet.uu.net (Guido van Rossum)
Subject: Re: Multiple Inheritance
Date: 28 Dec 91 17:14:20 GMT [thread overview]
Message-ID: <4969@charon.cwi.nl> (raw)
bs@alice.att.com (Bjarne Stroustrup) writes:
>MI in C++ and elsewhere isn't perfect and it isn't a panacea, but it works
>and it makes some styles of programming noticeably more convenient and
>less obscure. Naturally, it can also be overused and misused, but basically
>it works.
Point taken. However, I still worry about MI. When MI is *not* used,
it still imposes an overhead -- there is a "delta" offset in the vtbl
that is added to "this" each time a virtual function is called, but
this delta can only ever be nonzero when MI is used. I feel that this
is in direct conflict with the C++ philosophy that language features
you don't use shouldn't cause overhead.
I am also still looking for examples of the styles of programming that
are aided by MI -- anyone got pointers?
--Guido van Rossum, CWI, Amsterdam <guido@cwi.nl>
"You can't do that in horizontal mode."
next reply other threads:[~1991-12-28 17:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1991-12-28 17:14 Guido van Rossum [this message]
-- strict thread matches above, loose matches on Subject: below --
1992-01-03 19:33 Multiple Inheritance Jim ADCOCK
1992-01-02 20:03 Larry M. Jordan
1992-01-02 19:45 Pete Becker
1989-10-23 12:43 multiple inheritance "EDWARD CRAGG"
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox