[Cuis-dev] [Ann] Bootstrap and CuisDynamicLibraries

giorgio ferraris giorgio.ferraris at gmail.com
Mon Oct 30 03:58:22 PDT 2023


Hi, Juan,

both .SSL and VW parcels can change the shape of classes while loading, if
I'm not wrong. Any case, the concept is close, but what really matters is
that this is a very nice addition to the Cuis system, together with the
Bootstrap image.

very good work!

see you at Smalltalk 2023

ciao

giorgio

On Sun, Oct 29, 2023 at 9:41 PM Juan Vuletich <juan at cuis.st> wrote:

> Hi Giorgio,
>
> On 10/29/2023 1:18 PM, giorgio ferraris via Cuis-dev wrote:
>
> Hi, Juan,
> have you done something close to old VisualSmalltalk sll? Very nice!
>
>
> I couldn't find much documentation about SLLs. It is hard to know exactly
> what SLLs supported and how they used to work. I believe SLL loading was
> part of the VM, not the image. If so, I don't know if, for example, they
> could handle class reshaping at all.
>
> DynamicCuisLibraries are fully implemented in Smalltalk. One advanced
> feature is that if the image that builds a DCL has a different shape for
> some class as the image that loads it, the load procedure computes the
> union of the instance variables known by each, and adjust any ivar access
> in CompiledMethods so everyting works as expected. I believe that neither
> SLLs nor Parcels could do this.
>
> Please take a look at the included tests.
>
> ciao
>
> giorgio
>
>
> On Thu, Oct 26, 2023 at 8:32 PM Juan Vuletich via Cuis-dev <
> cuis-dev at lists.cuis.st> wrote:
>
>> Hi Folks,
>>
>> This year I've been busy, with the help of Felipe Zak, on implementing
>> two new features for Cuis.
>>
>> 1) Bootstrap. A package that lets us bootstrap new Cuis images,
>> including only what is desired. Smallest so far is about 150Kb, and
>> includes Stdout, Collections, Magnitudes, etc.
>>
>> 2) CuisDynamicLibraries. These are files that include compiled Cuis
>> code. They are somewhat similar to .so and .dll. They are much (MUCH!)
>> faster to load than .pck.st, and don't require a Compiler to be present.
>>
>> These together allow for an image of less than 200kb that can load any
>> needed additional code via .dcl files.
>>
>> Felipe and I will be giving talks on these new features at the FAST
>> Smalltalks 2023 conference at Universidad de Quilmes. Documentation is
>> on its way, but if you are brave enough, comments and examples included
>> in code could suffice.
>>
>> Cheers,
>>
>> --
>> Juan Vuletich
>> cuis.st
>> github.com/jvuletich
>> researchgate.net/profile/Juan-Vuletich
>> independent.academia.edu/JuanVuletich
>> patents.justia.com/inventor/juan-manuel-vuletich
>> linkedin.com/in/juan-vuletich-75611b3
>> twitter.com/JuanVuletich
>>
>> --
>> Cuis-dev mailing list
>> Cuis-dev at lists.cuis.st
>> https://lists.cuis.st/mailman/listinfo/cuis-dev
>>
>
>
> --
> Juan Vuletichcuis.stgithub.com/jvuletichresearchgate.net/profile/Juan-Vuletichindependent.academia.edu/JuanVuletichpatents.justia.com/inventor/juan-manuel-vuletichlinkedin.com/in/juan-vuletich-75611b3twitter.com/JuanVuletich
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20231030/ed83ee46/attachment.htm>


More information about the Cuis-dev mailing list