|
|
|
|
|
by abjorn
4581 days ago
|
|
I don't necessarily want threading in Node.js, but it would be nice to have coroutines/green threads...something simple that scales across CPUs, at least. Unfortunately with JavaScript I think the best you're going to get is Node's cluster module, because of the threading limitations with V8 and other JavaScript engines. Realistically, it's a trade off - Node.js is easy and quick to work with, but the only way to take full advantage of the machine's processing power is through forking processes. |
|
Then again, that would mean reinventing (again) core OS functionality in Javascript. Le sigh.