Login  Register

Re: Kernel

Posted by Stéphane Ducasse on Mar 05, 2011; 7:01pm
URL: https://forum.world.st/Kernel-tp3335157p3336959.html


On Mar 5, 2011, at 5:15 PM, Eliot Miranda wrote:

>
>
> On Sat, Mar 5, 2011 at 12:12 AM, Stéphane Ducasse <[hidden email]> wrote:
> > Woot!!!!!  Is this still a tracer or does it create a new kernel from source?  If it's still a tracer when do you think you'll have a creator and what are you calling it?
>
> From source may be a way to go but only for the smallest core.
>
> Of course.  From source one produces the smallest thing that can bring up the rest of the system.  IMO, collections, numbers, compiler, files & a stdi/o read-eval-print loop.
>
> But form source is /vital/ to be able to produce a new object representation and that's absolutely necessary to improve performance.  Using the tracer makes things like changing the bytecode set or replacing characters with immediate characters more difficult.  There's also value in having a declarative definition of the core system.

Yes.
now our problem is not really to have a source code bootstrap for a smalltalk. Gwenael did that in 3 days for his smalltalk but he was controlling all the details (all his object have named and variable size) and only one kind.
With Pharo we are reverse engineering format and other hardcoded knowledge with bitAnd: and bitshift: when it would have been so much simpler to have
better names. So we will go there but first we should extract the knowledge from the mud.

Stef

>
>  
> I would like to play with a source bootstrap.
> For now we use a tracer and we should learn also how to build dynamically cores (like aljandro nurturing)
>
> Stef
>
>
>