more progress... compiler installation suggestions requested

Stephane Ducasse ducasse at iam.unibe.ch
Wed May 14 07:32:16 UTC 2003


Alex did a binary format to save classes when we were helping the 3.3 
effort.
This can help you. We were planning to use that for the classBoxes (for 
which we start to have interested
benchmarks with the modified VM).

Stef


On Wednesday, May 14, 2003, at 03:45 AM, Andreas Raab wrote:

>> 	Currently I'm at 388K bytes, with 122 classes and
>> 10,773 objects.
>
> Cool. Do you have a list of the classes?
>
>> 	What do folks suggest as the best way of getting
>> compilation support back into the system after it has been
>> removed?
>
> I presume you still got some I/O, right? ;-) What I considered (almost 
> did
> it) in the past was to define a truly minimal format for reading
> CompiledMethods and providing class definitions. Truly minimal, mind 
> you,
> just enough so that you can get the compiler back in. If you formalize 
> this
> a little it may actually make a really nice "binary interchange 
> format" for
> classes in Squeak.
>
> What you'd need for classes would be:
> * Superclass name
> * Class name
> * format
> * ivar names [optional - can be auto-generated]
> * category [optional]
>
> and for methods:
> * selector
> * header word (primitive etc)
> * literals (Integer, Float, Character, String, Symbol, Array, 
> Association)
> * bytecodes
> * category [optional]
>
> Cheers,
>   - Andreas
>
>



More information about the Squeak-dev mailing list