I m studying the Nodejs Architecture, and I wanted to understand how does the V8 engine and the Libuv library are exchanging and talking to each other ?
I m stuck by understanding, and having these options :
- V8 compiles and the bytecode is managed by libuv ? (seems weird)
- Something on top of V8 talks to libuv and then compiles the JS (+ libuv interaction) to bytecode
- At compilation time, libuv is included at some layer of the code
I m quite stuck.I know the role of both part, but I don't understand how / when they are sharing information, or accessing each other APIs.
Does any body have information ?