Hacker News new | ask | show | jobs
by pedalpete 3702 days 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 which is doing multi-threaded javascript. Maybe this or Node.js will support multiple threads in the future.

1 comments

Nashorn 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 .