News for hackers. Stuff that matters.
Re:Napa.js: A multi-threaded JavaScript runtime by cjbillington on Wednesday October 18, 2017 @01:00PM (#15500790)
Note that Python does do multithreading - just the actual Python interpreter will not interpret Python code from two threads at once. If threads are busy running code that doesn't require the interpreter, whether it is CPU bound work or not, then as many threads can run as you have cores. In most CPU bound applications, the performance critical parts are not pure Python - they're calling out to some extension code such as numpy or cython or something. Such code runs in parallel in CPython if you start multiple threads.

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.

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.
Re:Napa.js: A multi-threaded JavaScript runtime by cjalmeida on Wednesday October 18, 2017 @06:59PM (#15504017)
If you're careful you can release the GIL when writing Cython code.

Better than C/C++ sometimes.