Hi vroad,

I am the creator of nPool.  I'm glad you found the package easier to work 
with than node-webworker-threads.  I too ran into issues using it and I 
don't particularly like the web worker API.

I saw your work with the structured clone implementation.  I like this a 
lot.  Do you mind if I bring this functionality back into nPool?

On Thursday, June 4, 2015 at 9:42:30 AM UTC-4, vroad wrote:
>
> I ended up creating my own structured clone implementation... 
> https://github.com/vroad/nPool
>
>
> 2015年5月29日金曜日 9時44分39秒 UTC+9 vroad:
>>
>> I'm looking for a way to load an WebP image, decode it, and send it to 
>> main thread from background thread.
>> I'm using dlopen implementation copied from node source file in the 
>> background thread. You may think that it's bad practice, but I want this 
>> for my node-based desktop application.
>>
>> At first, I added dlopen to node-webworker-threads and called that from 
>> background thread. DLOpen worked, but crashed while deserializing object. I 
>> gave up debugging since I was not sure what was causing the issue.
>> Then I tried npool. It provides me with better API than 
>> node-webworker-threads and seemed not buggy as node-webworker-threads, 
>> that's good, but doesn't work with large objects like typed arrays, because 
>> this addon uses stringified JSON to communicate between threads.
>>
>> Do you know any other native addon that supports passing typed arrays 
>> between threads?
>>
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/f8dbc294-0019-4a1c-acc9-8017e0652ebf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to