Re:Napa.js: A multi-threaded JavaScript runtime
by paulddraper on Wednesday October 18, 2017 @03:41PM
(#15502251)
Right. And Ruby also has a GIL.
Node.JS, Python, and Ruby are in C/C++ so you can do multithreading in all three, if you are willing to write native modules.
Re:Napa.js: A multi-threaded JavaScript runtime
by cookiecaper on Wednesday October 18, 2017 @03:55PM
(#15502379)
Yes. Python gets all the heat for the GIL, but most similar languages have something with more or less the same effect.
This might have been what you meant when you said the runtime isn't really multi-threaded - but since the CPython ecosystem rests so heavily on C code, in practice multithreading is a good solution a lot of the time.