Object identity has no necessary connection to memory location

Antoon Pardon antoon.pardon at rece.vub.ac.be
Thu Nov 26 07:04:54 EST 2015


Op 26-11-15 om 12:49 schreef Chris Angelico:
> I can't remember which language it was (maybe Lua?), but I know
> there's one that uses a machine word to store either a pointer to a
> heap object, or an integer of at most one less bit than the machine
> word, represented by 2*n+1.

I think that was smalltalk.




More information about the Python-list mailing list