[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Native thread support
From: |
Thomas Worthington |
Subject: |
Re: Native thread support |
Date: |
Wed, 16 Feb 2022 21:23:16 +0000 |
User-agent: |
mu4e 1.7.5; emacs 27.2 |
Oh, I know that. That's why I said "first look". Second look isn't so nice and
by the third you're running screaming from the room.
Derek Zhou via Users mailing list for the GNU Smalltalk environment
<help-smalltalk@gnu.org> writes:
> 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