Re:Node.js 14 is over 20x faster than Python3.8 for fib(n)
by wrs on Tuesday February 09, 2021 @01:25PM
(#26080877)
It does seem a bit harsh, but I would put it like this: If you need to care about performance, then this is an extremely basic difference between the two language implementations that should not surprise you. If you don’t yet, then this is the very beginning of your education in how to care about performance—welcome to the next level!
Re:Node.js 14 is over 20x faster than Python3.8 for fib(n)
by dooferlad on Tuesday February 09, 2021 @01:31PM
(#26080946)
Oh, I think it is a quite reasonable comment. It isn't interesting work being done in the benchmark and the benchmark itself is short.
If you want to get ultimate performance from Python then write a C function...
If you want to inform me about runtime performance then show me how the language runtimes are spending cycles. If you wish to convince me about a language being great then tell me about the engineering effort to create and then run something in production.
Re:Node.js 14 is over 20x faster than Python3.8 for fib(n)
by zamadatix on Tuesday February 09, 2021 @02:14PM
(#26081383)
It's a 2 sentence post, the latter of which seems to be trying to dispel the idea that it's about what you're implying it is. Uninteresting to experts in the area that consider this common knowledge maybe, not a failure of the author to do something worthwhile though.
"Obviously this isn't the most comprehensive benchmark, but the results are surprising to me."
I fully agree with this and I learned something new about cpython's weakpoints today!