At 9:24 PM +0000 1/21/03, Piers Cawley wrote:
Nope. Attributes and methods will be very separate. Attributes are class-private, more or less, so they won't be in the symbol table. Methods, OTOH, will be, as they aren't really private at all.Dan Sugalski <[EMAIL PROTECTED]> writes: > Hrm, interesting. Single symbol table for methods and attributes,though that's not too surprising all things considered. That may make interoperability interesting, but I was already expecting that to some extent.Isn't that, essentially what Perl 6 will have too?
I've been thinking about how to handle methods, as we need a mechanism everyone can share--you need a method cache for good performance, and the last thing I want to have to deal with is a dozen method caches for a dozen different language implementations, especially as everyone's guaranteed to get the first version wrong. (Plus, of course, there's MM dispatch to deal with, which needs to be global as well)
--
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk