News for hackers. Stuff that matters.
Re:JavaScript is Eating the World by thehardsphere on Thursday August 24, 2017 @02:35PM (#15092745)
It is accurate to refer to it as single threaded, because it executes with a single thread. "Non-blocking" is an orthogonal concept to the number of threads being used.

You can have "non-blocking" and multiple threads at the same time.

Re:JavaScript is Eating the World by pier25 on Thursday August 24, 2017 @03:22PM (#15093174)
Isn't it actually 2 threads at the minimum?

The V8/JS thread and the C++ thread?

Doesn't the C++ part create threads in some cases when needed?

Re:JavaScript is Eating the World by thehardsphere on Thursday August 24, 2017 @06:22PM (#15094572)
I doubt that is accurate, but if it is, it is irrelevant; those "C++ threads" are not available to you to use in your program the way you see fit.