Re:Alan Kay is still waiting for his dream to come true
by alankay1 on Wednesday September 20, 2017 @03:06AM
(#15291411)
Nothing is technically stored with the class object (everything is made from objects related by object-references). Semantically everything is "together". Pragmatically, things are where they need to be for particular implementations. In the early versions of Smalltalk on small machines it was convenient to cache the code in a separate file (but also every object -- e.g. in Smalltalk-76) was automatically swappable to the disk -- just another part of the pragmatics of making a very comprehensive system run on a tiny piece of hardware.
Re:Alan Kay is still waiting for his dream to come true
by mmiller on Tuesday September 19, 2017 @07:24PM
(#15289600)
"This is more of an optimization choice, perhaps? Given the link is maintained, it might be OK to say the source code and the bytecode form are two forms representing the same object?"
Sure. :)
> the source code is not technically stored with the class object
This is more of an optimization choice, perhaps? Given the link is maintained, it might be OK to say the source code and the bytecode form are two forms representing the same object?