Proposal of Multithread JavaScript

Michał Wadas michalwadas at gmail.com
Thu Nov 3 16:10:27 UTC 2016


Why you can't solve it with shared memory buffer? Shared - I mean instance
of *SharedArrayBuffer. *

On 3 Nov 2016 5:05 p.m., "J Decker" <d3ck0r at gmail.com> wrote:

>
>
> On Wed, Nov 2, 2016 at 7:44 AM, Michał Wadas <michalwadas at gmail.com>
> wrote:
>
>> Actually, is there any problem that can't be easily solved with
>> message-passing for high-level structures or low-level shared memory
>> buffers?
>>
>>
> Yes, meshing dynamic geometries that involve a few 20k faces.   If you
> have a thread do the work, the overhead of srealizing the resulting buffers
> will kill any benefit.
>
> But; typed arrays can be shared also.  (they are with C++ addons in node)
>
> The biggest problem with node's lack of threads is they really need
> separate but equal heaps.  I heard that there's a global heap lock... that
> wouldn't be required except when allocating addition space for each heap.
>
>
>
> To the general - stop treating programmers like idiots.  Give us the
> rope.  Let us hang ourselves.
>
>
>> _______________________________________________
>> es-discuss mailing list
>> es-discuss at mozilla.org
>> https://mail.mozilla.org/listinfo/es-discuss
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20161103/2593f6ce/attachment.html>


More information about the es-discuss mailing list