develooper Front page | perl.perl6.language | Postings from July 2001

Re: Per-object inheritance in core a red herring?

Thread Previous | Thread Next
From:
Mark J. Reed
Date:
July 10, 2001 11:10
Subject:
Re: Per-object inheritance in core a red herring?
Message ID:
20010710141002.L11763@charm.turner.com
Not quite authoritative, I'm afraid. :) I'm looking at the new edition
of the Stroustroup book, and the very existence of vtables is an 
implementation detail not guaranteed by the language spec (now that
there actually is a language spec for C++).  Further, in the example
which mentions vetables, each object has a pointer to a vtable which is shared
by the entire class.

Which is not to say that it couldn't be moted so for Perl . . .

On Tue, Jul 10, 2001 at 01:44:35PM -0400, Dan Sugalski wrote:
> At 11:01 AM 7/10/2001 -0400, Adam Turoff wrote:
> >And where's the guarantee that vtbls are per-object and not per-class?
> 
> VTABLES ARE PER OBJECT.
> 
> So mote it be. :)
> 
> 					Dan
> 
> --------------------------------------"it's like this"-------------------
> Dan Sugalski                          even samurai
> dan@sidhe.org                         have teddy bears and even
>                                       teddy bears get drunk

-- 
Mark J. REED	<markjreed@mail.com>

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About