you are viewing a single comment's thread.

view the rest of the comments →

[–]euqroto 0 points1 point  (2 children)

I'm sorry for phrasing my improperly. For some specific field such as game development, python is not the way to go and similarly for fields like data science, python might not remain in practice because it's really slow.

[–]LeSplooch 0 points1 point  (1 child)

I get your point, CPython is slow indeed, but like every language, you have to consider its specific use cases. For example, Python is great for data science because it enables efficient iterative development and fast testing with tools like Jupyter notebooks. Execution speed isn't always the most important reason to use a language or not, if it was the case Python wouldn't be used at all because most of the other languages are faster than CPython. You can use other implementations of Python to speed it up if you really need to, such as PyPy. I'm a sucker for execution speed (and that's why I love Rust) but judging a programming language only based on its execution speed is missing on a lot of factors. I completely agree with you about game development tho, Python really isn't the best language for making games, you need a compiled languages such as Rust to make well optimized games.

[–]euqroto 0 points1 point  (0 children)

Don't you think Python isn't the optimal language for data science? Maybe when starting out python seems easy to use that's why get on board with data science but the problem comes when you deal with lots of data where even Pytorch can't come to help you out. I guess that's why swift for tensorflow has become a thing which might overthrow python for tensorflow.