Shamelessly cross-posting this …

You are viewing a single thread.
View all comments
11 points

I usually read news like this so this is my opinion about this subject: python is a good language for prototype, PoC, and general tasks where performance and security is not really important. For other uses languages like C, C++, Rust, Fortran, and libs like MIPS are better option. I think every language has its pros and cons, so the optimal is select the best language for the particular task, no try to change the language for be the best in all aspects (it is impossible).

permalink
report
reply
5 points

There is also lots of fields where Python performance isn’t the bottleneck. In my backend web application, Python isnt holding us back and actually help us deliver features faster. And we can scale to much more clients before performance starts being an issue.

My last project was a legacy Django web app, that actually worked fairly well, the problem was the shitty codebase but it was in Production for almost 10 years, thousands of users and everything worked

permalink
report
parent
reply
2 points

I agree with you. Python us a good language and it suites very nice for a lot of productive uses cases. The problem is when high performance is a mandatory requirement, in this cases I suggest other options better than Python.

permalink
report
parent
reply
3 points

I do agree with you on performance, but what makes python unsuitable where security is important?

permalink
report
parent
reply
0 points

Dynamic typing is a potential source of security problems

permalink
report
parent
reply
2 points

there can also ne inertia for existing projects though. for example it can be tough to get more research-y work (eg grad students) to switch over from r/python/Matlab for data processing in favor of c/rust

permalink
report
parent
reply

Python

!python@programming.dev

Create post

Welcome to the Python community on the programming.dev Lemmy instance!

📅 Events
Past

November 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
💓 Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
  • Pythörhead: a Python library for interacting with Lemmy
  • Plemmy: a Python package for accessing the Lemmy API
  • pylemmy pylemmy enables simple access to Lemmy’s API with Python
  • mastodon.py, a Python wrapper for the Mastodon API
Feeds

Community stats

  • 736

    Monthly active users

  • 468

    Posts

  • 2.4K

    Comments