[Vm-dev] A stab at explaining Spur

Ryan Macnak rmacnak at gmail.com
Fri Aug 14 02:29:46 UTC 2015

On Thu, Aug 13, 2015 at 1:19 AM, Clément Bera <bera.clement at gmail.com>
> I heard recently that the implementation used by Cincom Smalltalk,
> splitting the object in 2 (header + fields), is also used in Pypy and the
> Dart VM as Python and Dart allow the user to add instance variables to
> objects at runtime which leads to the same problem.

Objects are not split in the Dart VM, and it does not support adding
instance variables or otherwise changing classes at runtime. Objects have a
single-word header with a class index, size information and GC bits.
Identity hashes are not often used in Dart, so they are kept in a side
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20150813/8d4555fb/attachment-0001.htm

More information about the Vm-dev mailing list