3 ms·
You're missing the point. The point is that, for any application, Python needs an underlying C library to be fast. So if you need to solve problems where no suc
by jakobnissen 3y ago
You're missing the point. The point is that, for any application, Python needs an underlying C library to be fast. So if you need to solve problems where no such library exists, Python is slow.
In other words, Python IS slow, but it can call fast code written in other languages.
- lifthrasiir 3y agoThat's true but irrelevant here, especially given the original claim: > adding performance to an existing Python program requires dropping into a different language ...is demonstrably false for a significant class of programs that can be rewritten into the array paradigm. The benchmark should have picked other numerical problem to avoid this issue. The Computer Language Benchmarks Game, for example, uses the `n-body` problem for this purpose.