Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

One possible solution to introduce threads to JS is to isolate threads from each other and use only message-passing:

https://github.com/audreyt/node-webworker-threads/



Sorry, but share-nothing threads that can only communicate via (afaics) serialized message passing are no longer threads. There is very little benefit to those compared to just spawning child processes.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: