Interesting, but IMO it's just not a useful comparison here. Any computationally intensive task in Python is usually done with libraries written in C.
Not to mention, dev time matters and has an energy cost as well.
reply
Yeah, he mentions that as a caveat that all the benchmarks are done using own language scripting abilities... no external functions are called.
And indeed, you're right to highlight that no self-respecting python coder won't use efficient external lapack or arpack libraries to do the computationally heavy matrix operations. numpy is nearly fully C-code under the hood with some C++ as well.
reply
Disappointed/surprised Fortran does significantly worse than C...
Edit: ok, the benchmarks are not only scientific computational ones. For the latter, Fortran still acts very well...
reply
21 sats \ 0 replies \ @Zk2u 11 Aug
Rust can achieve identical assembly and speeds to C. The others are different of course. But hey, why be safe when you can do a null pointer deference and shut down global airlines and banks for a day or so? Lol
reply