[Question] Having brains again after being headless?
Marcel Weiher
marcel at metaobject.com
Sat Dec 14 12:03:07 UTC 2002
On Saturday, December 14, 2002, at 11:54 Uhr, PhiHo Hoang wrote:
>> Incidentally, the CocoaSqueak VM does this sort of stuff simply by
>> setting instance variables in the SqueakInterpreter object.
>
> Does each instance of Interpreter have its own instance
> of ObjectMemory :-)
Well....there is the interp.m translation of the VM to Objective-C,
which has Interpreter as a subclass of ObjectMemory, just like the
Squeak source. This even manages to execute a few thousand bytecodes
until it reaches a primitive that is hard-coded as a C-call, instead of
being translated.
Marcel
--
Marcel Weiher Metaobject Software Technologies
marcel at metaobject.com www.metaobject.com
Metaprogramming for the Graphic Arts. HOM, IDEAs, MetaAd etc.
More information about the Squeak-dev
mailing list
|