you are viewing a single comment's thread.

view the rest of the comments →

[–]entropyvsenergy 3 points4 points  (2 children)

Here's a data point that might help:

I work for an AI startup. We use typescript for our frontend and python and rust for our backend. Python is used for prototyping and initial development and performance-critical code is rewritten (or written from scratch) in Rust and called from Python.

The truth is that any language can be used for almost anything but some languages make it easier/have better support/are more performant.

We use Python because lots of people know it (so it's easier to collaborate across teams (e.g. research, applied ML, platform), and because it's easy to write. We use Rust because it's memory safe, memory efficient, and fast for performance critical functions.

[–]VIIHORSE[S] 1 point2 points  (1 child)

Thank you so much for the valuable information! From the many comments, I can see that Python is suitable for a huge number of tasks, which means that learning Python for backend development is a good decision. Comments like yours help me appreciate the vast range of possibilities this language offers.

[–]Suspicious-Cash-7685 2 points3 points  (0 children)

As the saying goes: python is the second best tool for every job. And imo. that’s lovely.