0

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?

3
  • 2
    JavaScript 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. Commented Oct 29, 2015 at 21:51
  • "Libuv is not part of normal JavaScript engine." - what is "normal" to you? Commented Oct 29, 2015 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? Commented Oct 29, 2015 at 21:53

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.