News for hackers. Stuff that matters.
Re:Reasons Python Sucks by hiq on Saturday January 14, 2023 @07:44PM (#34385607)
How widely are Python arrays used in practice?
Re:Reasons Python Sucks by pdonis on Saturday January 14, 2023 @07:57PM (#34385686)
I haven't had much occasion to use them. I suspect that most use cases nowadays where the speed advantage is needed involve numerical computing where the user is probably using a library like numpy or scipy and will use their array implementation, not the built-in Python one. However, arrays have been around in Python since very early on, when those other numerical libraries didn't exist, so the array built-in might have gotten more use then.