[Cuis-dev] Immutability package

Juan Vuletich juan at jvuletich.org
Fri May 8 08:15:10 PDT 2020


On 5/8/2020 11:58 AM, ken.dickey--- via Cuis-dev wrote:
> Ah.  Why this is important.
>
> I forgot to say that the objects which remember the Rope/UniString 
> state should also be immutable.

Not sure what does this mean. Can you give an example?

>
> This means that operations on Ropes/UniStrings are thread-safe, even 
> in a multi-core CPU.  All without locking.
>
> Anyone looking at lock-free data structures and multi-core caches 
> should appreciate this.
>
> It would be really useful to be able to run milti-core, especially if 
> one or more cores are GPUs. ;^)
>
> Cheers,
> -KenD

Cheers,

-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
@JuanVuletich



More information about the Cuis-dev mailing list