I am learning the basics of Node.js. One thing that constantly confuses me is the event loop. From what I have learned, Node.js handles asynchronous functions using threads in libuv. How does chrome V8 engine handles this?
Asked
Active
Viewed 88 times
0
-
2JavaScript does not have an event loop. The event loop is only part of the engine. You could write an engine that only executes JS synchronously and has no event loop at all. – Bergi Oct 29 '15 at 21:51
-
"*Libuv is not part of normal JavaScript engine.*" - what is "normal" to you? – Bergi Oct 29 '15 at 21:53
-
Thanks for replying. So node developers took V8 engine and left out the event loop part and wrote something of their own? – Nithin Mohan Oct 29 '15 at 21:53