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 nodejs+unsubscr...@googlegroups.com. To post to this group, send email to nodejs@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/fb93c58f-cbc8-4ae2-b5a5-9853bb4a9cc2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.