Re:“Node.js is one of the worst things to happen to the soft...
by edwinjm on Tuesday August 23, 2016 @07:06AM
(#12342745)
JavaScript uses one thread so not switching threads with all its contexts saves a lot of overhead.
[ Parent
| on HN ]
Re:“Node.js is one of the worst things to happen to the soft...
by Capt-RogerOver on Tuesday August 23, 2016 @06:56PM
(#12348434)
JavaScript being single-threaded is one of it's biggest drawbacks. This is universally agreed on by both it's proponents and critics.
Yes sure, some very few resources are wasted on each thread, but in case of JavaScript, it wastes a lot more by not using all the cores, of which there are usually several present in almost any modern computer that will run JS.