Say you wanna make an HTTP request. What node will do is kick off the process (dns, grab a socket, connect tcp, write the header, wait for response etc.)... but it won't wait for any of this to finish, it just starts it…
No, because the I/O threads never enter JS land (V8); they just dump their data for the main V8 thread to pick up. And yes you are correct that V8 effectively has a GIL for its Javascript execution (though V8 does…
Say you wanna make an HTTP request. What node will do is kick off the process (dns, grab a socket, connect tcp, write the header, wait for response etc.)... but it won't wait for any of this to finish, it just starts it…
No, because the I/O threads never enter JS land (V8); they just dump their data for the main V8 thread to pick up. And yes you are correct that V8 effectively has a GIL for its Javascript execution (though V8 does…