Magma 1.4 on Pharo 1.4 and beyond

Milan Mimica milan.mimica at gmail.com
Sun Jan 6 21:36:36 UTC 2013


On 6 January 2013 20:15, Chris Muller <asqueaker at gmail.com> wrote:

> > Hint: in Pharo 1.4 sending #class is not magic any more and it can be
> > overriden, so proxies and write-barriers can be even more transparent.
>
> That's great I'd love to get rid of #maOriginalClass.  Do you know how
> the "magic" was removed?
>


Object>>class
"Primitive. Answer the object which is the receiver's class. Essential. See
Object documentation whatIsAPrimitive."

<primitive: 111>
self primitiveFailed


So the magic is still there, it's just that #class is not inlined by the VM
any more and can be overriden. Which is great.


-- 
Milan Mimica
http://sparklet.sf.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/magma/attachments/20130106/785f6b17/attachment.htm


More information about the Magma mailing list