News for hackers. Stuff that matters.
Re:The computers are fast, but you don't know it by willis936 on Thursday June 16, 2022 @05:17PM (#31771087)
This is a discussion about computers being slow. As in a person asks a computer to do something and the human waits while the computer does it.

So python isn't the right tool for any job that involves human interaction.

Re:The computers are fast, but you don't know it by Nihilartikel on Thursday June 16, 2022 @06:55PM (#31772026)
Python _is_ slow, but even back in 2006 on a pentium 4 I had no problem using it with PyGame to build a smooth 60fps rtype style shooter for a coding challenge.

One just has to not do anything dumb in the render loop and it's plenty responsive.

Of course, if you're going to interactively process a 50mb csv or something... But even then pandas is faster.

Re:The computers are fast, but you don't know it by Narishma on Friday June 17, 2022 @06:07AM (#31776127)
That's because a Pentium 4 is way overkill for such a simple game.
Re:The computers are fast, but you don't know it by geysersam on Thursday June 16, 2022 @05:47PM (#31771392)
Nah that's too general. A lot of website/app backends use Django or Fastapi and they work fine. Many more use PHP, also not a language famed for extreme performance.

It depends on the application. Personally I wouldn't use Python for a GUI (because I'd use JS/TS).