Hacker News new | past | comments | ask | show | jobs | submit login

Wait, what are Web-workers then?



for opening up a new separate thread, that you can only communicate through message passing. It's not part of the core language but the browser library hence why you can't use them in Node.


They're also more directly comparable to processes than threads, as they do not share memory (though there are a couple of proposals to allow them to).


Apparently ParallelArray allows shared memory.


yeah but that's not approved yet and from what I can tell ParallelArray is higher level then Workers and doesn't really expose that sort of thing.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: