3 ms·
I wonder if multi-threaded JS will ever be a thing, despite the event-loop nature of the language
by talhof8 5y ago
I wonder if multi-threaded JS will ever be a thing, despite the event-loop nature of the language
- hawk_ 5y agothe language isn't inherently event-looped. even in the browser you can use workers.
- Lerc 5y agoIt's something I'd like to see. I have wondered if quickjs might serve as an experimental base to try and implement such a beast. The main issue is having a thread aware object lifetime mechanism. I think quickjs is a reference counting GC. It might be possible to wedge something in there.