NumPy 1.20 has been released
NumPy 1.20 has been released
Posted Feb 24, 2021 8:12 UTC (Wed) by pgdx (guest, #119243)In reply to: NumPy 1.20 has been released by ncm
Parent article: NumPy 1.20 has been released
I used to do competitive programming, where you need to write programs/algorithms that solve large instances of problems with typically 1–5 seconds time limit.
Python is a slow runtime, yes. However, we have seen several problems in competitions where Python (running on pypy, of course) outperforms other languages, e.g. Java.
Indeed, we once created a problem that we implemented solutions for in every language accept Java (go figure). We just assumed that since Python ran well within time limits, Java would manage too.
Half-ways through the competition we realized that it was not possible to solve that problem using Java.
I'm not a programming language expert, but I can accept your claim that there are "slow languages", however pypy is a quite snappy runtime.
(Now I teach competitive programming; those who can't do teach.)
Posted Feb 24, 2021 10:39 UTC (Wed)
by sandsmark (guest, #62172)
[Link] (2 responses)
Posted Feb 24, 2021 10:58 UTC (Wed)
by ju3Ceemi (subscriber, #102464)
[Link]
Posted Feb 24, 2021 11:17 UTC (Wed)
by pgdx (guest, #119243)
[Link]
Posted Feb 24, 2021 23:47 UTC (Wed)
by atai (subscriber, #10977)
[Link] (1 responses)
What is it with Java that makes it impossible?
Posted Feb 24, 2021 23:48 UTC (Wed)
by atai (subscriber, #10977)
[Link]
NumPy 1.20 has been released
NumPy 1.20 has been released
NumPy 1.20 has been released
NumPy 1.20 has been released
NumPy 1.20 has been released
