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.
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
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.
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
lapackorarpacklibraries to do the computationally heavy matrix operations.numpyis nearly fullyC-code under the hood with someC++as well.Disappointed/surprised
Fortrandoes significantly worse than C...Edit: ok, the benchmarks are not only scientific computational ones. For the latter, Fortran still acts very well...
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