News for hackers. Stuff that matters.
Re:Node.js 14 is over 20x faster than Python3.8 for fib(n) by wongarsu on Tuesday February 09, 2021 @01:20PM (#26080803)
Python gives you better escape hatches for typical compute-heavy work (lots of libraries use C under the hood), and Python has a better multi-threading story than Node.js.

But I guess the biggest differentiators are really the ecosystems and standard libraries. Node.js is certainly catching up, but Python has generally a better selection of high-quality libraries for tasks beyond the web.

Re:Node.js 14 is over 20x faster than Python3.8 for fib(n) by tuckerconnelly on Tuesday February 09, 2021 @02:49PM (#26081714)
Lack of library support is probably the most valid reason here. Most of the other reasons people have posted seem like opinions on ergonomics. I think those held true 10 years ago, but modern JavaScript feels very minimal and lisp-y and is more enjoyable to program with than Python IMO.

What libraries or escape hatches to you actually use in your daily work that are exclusive to Python? The ones I'm familiar with would probably be OpenCV and the whole machine-learning family of libraries (sci-kit, spacy, tensorflow, etc).

Re:Node.js 14 is over 20x faster than Python3.8 for fib(n) by brrrrrm on Tuesday February 09, 2021 @01:31PM (#26080951)
I believe libraries like v8pp are helping to shrink the gap with C library integration.