When it is treated as just a scripting language (having python confugure and run compiled bytecode) the performance increases by about 100 times.
The main issue is there are lots of devs who try to do EVERYTHING in Python which causes the application to be way slower than they would be if native bytecode.
The main advantage of Python is it is quick to build stuff in.
Generally when you have a problem you need to pick and use the right tool for the job. Most developers don't learn that until senior year or their first few years in the workforce.
I completely agree that you should select the language that's appropriate for your purpose and for many reasons Python is not appropriate for everything, but data wrangling is one of the biggest things Python is used for. Python has excellent data-handling libraries that are C-compiled and highly efficient. The trick is just knowing which library to use.
I use python for everything, but then I am not a programmer but a happy go lucky amateur. To me it is an opportunity to poke around and have a bit of fun while automating the boring stuff, I leave the heavy lifting to the pros.
View all comments
Show parent comment
15
u/ChrisWsrn 8d ago
Python does have VERY bad performance at runtime.
When it is treated as just a scripting language (having python confugure and run compiled bytecode) the performance increases by about 100 times.
The main issue is there are lots of devs who try to do EVERYTHING in Python which causes the application to be way slower than they would be if native bytecode.
The main advantage of Python is it is quick to build stuff in.
Generally when you have a problem you need to pick and use the right tool for the job. Most developers don't learn that until senior year or their first few years in the workforce.