On Fri, Apr 20, 2001 at 05:02:21PM -0700, Larry Wall wrote:
> Jarkko Hietaniemi writes:
> : What is someone wants to define matrices and have both cross product
> : and dot product?
> 
> At some point, there aren't enough operators, and new ones have to

I thought we adopted Unicode for this very reason :-)

> I think it's a mistake to think of the vtable format as fixed.  We need
> ways to install sets of methods such that they'll dispatch just as fast
> as any built-in.  This probably involves setting up some kind of a
> registry for mapping of names to vtable offsets at compile time, for
> those method names we know about at compile time.

This answers my worry about the extensibility and size of the vtables:
committing overly much to Perl 5 and trying to implement all of that
at low levels is to be avoided.  With my multilevel idea I was trying
to shrink the size of the table and limit the extent of possible
change, but if we have APIs to runtime rewire (and in compile time
prewire) the vtables I'm happy.

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

Reply via email to