[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Native thread support
From: |
Derek Zhou |
Subject: |
Re: Native thread support |
Date: |
Wed, 16 Feb 2022 09:43:53 -0500 |
On 2022-02-14 20:31:11Z, Thomas Worthington wrote:
> It is frustrating as the Smalltalk model of programming would seem at first
> look to be ideal for multi-threading: individual computing objects each
> pining messages to each other and then responding, like a cloud of VMs where
> each little VM is one instance of a class.
It is not that simple. If you did it in the naive way, like every object in its
own green thread, then the performance would be abysmal, not to mention the
huge memory footprint. Parallelism at too fine a granularity will not help
performance but hurt it.
Derek