2015-08-14 4:29 GMT+02:00 Ryan Macnak rmacnak@gmail.com:
On Thu, Aug 13, 2015 at 1:19 AM, Clément Bera bera.clement@gmail.com wrote:
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 table.
And I put "accept" on a paper that was claiming that... Damned. Any clue about Pypy ?