3 ms·
I think comparing it to something like nodejs the way they work around the issue is that almost all their code is written in JavaScript itself. Python has a dif
by ddtaylor 3y ago
I think comparing it to something like nodejs the way they work around the issue is that almost all their code is written in JavaScript itself. Python has a different model where a very large amount of the code is written in c and python itself is just a glue.
- rcme 3y agoA huge amount of NodeJS is written in native code. JS is single threaded. Async work doesn’t work without native code. JS doesn’t need a GIL because it only has one thread.