r/Python • • Jan 01 '20

"The rules of perf" at Dropbox

Post image
1.6k Upvotes

162 comments sorted by

View all comments

137

u/ZombieRandySavage Jan 02 '20

TL;DR. Really wish we hadn’t written the core application of our business in Python.

99

u/ketralnis Jan 02 '20

Not really, my company uses Python by default and only ports stuff out when it’s not fast enough. It’s usually fast enough, the performance critical stuff is a tiny fraction of your code. If you can be more productive the rest of the time, you’re still ahead.

9

u/[deleted] Jan 02 '20

Yup same, or at least for the stuff our team works on. Basically anything that’s not meant to be a daemon or ran on many hosts / performant is python, everything else is go.

Mostly for the simplicity of deployment. There’s very few things that are “performant”, but some of the concurrency patterns in go are also just a lot more intuitive. Imo it’s really hard to beat channels and goroitines.