3 ms·
What about something like ChromeOS? Does it need multi-threading? If each app is running it's own thread, and can spawn new threads, maybe that would work. Al
by pedalpete 11y ago
What about something like ChromeOS? Does it need multi-threading?
If each app is running it's own thread, and can spawn new threads, maybe that would work.
Also, though Node.js is currently single-threaded, there is the Nexus project https://github.com/voodooattack/nexusjs https://github.com/voodooattack/nexusjs which is doing multi-threaded javascript. Maybe this or Node.js will support multiple threads in the future.
- spriggan3 11y agoNashorn on the JVM supports threads. So the problem is definitely not a JS issue but a JS engine issue. NodeJS is single threaded because NodeJS V8 is. There was a talk about implementing workers that communicate view text messages though, I don't know the state of workers in NodeJS .