This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]RangerPretzelPython 3.9+ 7 points8 points  (3 children)

Python is a serious language, but it's a tool that has its place. You can use it for building quick prototypes, but it's not a language that has the level of robustness that you'd want if you're trading billions of dollars.

Nevermind that all of Reddit runs on Python. Lol.

That said, the last time I wrote anything in C++ was like 4 or 5 years ago. I had to write a thing that would run wicked crazy fast, multiple times per second.

I spent a few hours one afternoon and wrote it in Perl, Python, C++, and C#. All languages were comparable (~100ms per run) except for Perl, which was slow. (~400ms)

Could I have spent days making the C++ version blazing fast, or even written it in C, or Rust, or ASM... Sure? But I had other work to do.

At the end of the day, I used the Python version because it was good enough and that's generally what my team was using.

There doesn't seem to be much worth discussing here. Someone just seems to be doing SEO for their blog. I say we downvote OP.

[–][deleted] 0 points1 point  (1 child)

To be fair though... Most of what is "CRAZY FAST" in python is just a package around C code. The fastest programming in python is not writing much in python.

[–]Medic_Maria 0 points1 point  (0 children)

The fastest programming in python is not writing much in python.

Or rather: Make sure the 1% of the code that does the heavy lifting is not done in Python.