Re:What's up, Python? The GIL removed, a new compiler, optpa...
by pid-1 on Monday July 31, 2023 @12:00AM
(#36938676)
Isn't Node single threaded, just like Python?
[ Parent
| on HN ]
Re:What's up, Python? The GIL removed, a new compiler, optpa...
by krylon on Monday July 31, 2023 @05:38AM
(#36940390)
Python is technically multithreaded, but the GIL means only one thread can execute interpreter code at a time. If you use libraries written in C/C++, the library code can run in multiple threads simultaneously if they release the GIL.
I vaguely recall Node used to run multiple threads under the hood for disk I/O, but it might use kqueue/epoll these days.