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

> I'm not aware of any JS runtime outside a browser that supports concurrency (other than concurrently awaiting IO), so you can't do parallel compilation in a single process.

You haven't looked very hard then, NodeJS has supported worker threads for years. However, to uphold Javascript's safety guarantees, they can only communicate via message passing, or sharing a special `SharedArrayBuffer` datatype, neither of which are well suited to sharing large immutable data structures.



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

Search: