2017-02-24 16:31 GMT+01:00 Martin Dias <[email protected]>:

> Great! any idea how far is new Ring from replacing old Ring?
>

In Pharo 7. Right now the new version can live in the image next to the old
one.


>
> Martín
>
> On Fri, Feb 24, 2017 at 11:58 AM, Ben Coman <[email protected]> wrote:
>
>>
>>
>> On Fri, Feb 24, 2017 at 8:36 PM, Pavel Krivanek <[email protected]
>> > wrote:
>>
>>> Hi,
>>>
>>> I have published a short video of the Pharo bootstrapping from a Ring
>>> model that is browsed and modified by the Calypso browser.
>>>
>>> https://www.youtube.com/watch?v=QguZSPKo7-w
>>>
>>> No audio, please enable subtitles for the description.
>>>
>>>
>> Wow wow wow !! Super-cool !!
>> I had to watch it a few times.
>> 314k image is pretty impressive.
>>
>> Just to clarify, Calypso is not connected to a remote image but browses
>> the bootstrap source code loaded into a Ring Environment?  (btw, should we
>> call this a "guest environment"?)
>>
>> When you show the previously opened window "Methods with a string aText
>> 'Smalltalk run' ..."
>> showing PBImageBuilder50 >> initializeImage,
>> that was opened before you created the new Ring Environment and Calypso
>> was opened,
>> so can I presume it was opened on a similar Ring Environment created
>> earlier?
>>
>> There were no processes in the guest image prior to doing this...
>>     process := objectSpace
>>         createProcessWithPriority: 40
>>         doing: ('Smalltalk primitiveGarbageCollect. Smalltalk run').
>>     objectSpace installActiveProcess: process.
>> so this was a single process Image?
>>
>> You say "The image must contain support for the class builder to be able
>> to be bootstrapped."
>> When you create the SmalltalkImage>>run method in the guest environment,
>> is that actually *running* to compiled as normal using its class builder?
>>
>> How difficult would it be for the guest image to invoke class builder via
>> seamless in the host image?
>> And how much smaller could the image get if the class builder was removed.
>>
>> It could be cool if this bootstrap creation process was integrated in
>> PharoLauncher as a GUI tool.  Then later the ability to download these
>> mini-image to an embedded controller could be added.
>>
>> cheers -ben
>>
>> P.S. Could you maybe blog this also, to make it easier to replicate and
>> copy-paste the Playground text.
>>
>
>

Reply via email to