[perl #41825] [BUG] morph vtable override not working in PIR

Andrew Whitworth wknight8111 at gmail.com
Sat Jan 17 18:36:13 UTC 2009


> On Sat, Jan 17, 2009 at 11:11 AM, Jonathan Worthington
>> I'm curious - is anyone else doing a HLL on Parrot that uses morph? If
>> nobody is, is it worth spending time on, or even worth keeping?
>>
>> Thanks,
>>
>> Jonathan
>>

Even if the morph opcode isn't used often, the morph VTABLE interface
is used quite a bit internally. There really isn't any easier and
still standard way of changing between types for PMCs. It certainly
beats having to invoke PMC methods internally to switch between types.

--Andrew Whitworth


More information about the parrot-dev mailing list