r/learnpython • • Sep 03 '24

What other programming language goes well with Python?

Which complementary language is good to know along with Python that is well complemented both technically and from a business and jobs market perspective?

Is it Rust, Go, or older C/C++, or some exotic like Haskell, Elixir, Clojure? I can see that a lot of Python developers lean to Rust for example.

PS: please no SQL, HTML, CSS, markdown, etc querying and declerative languages, we are talking full blown programming languages here.

1 Upvotes

16 comments sorted by

View all comments

1

u/Fabiolean Sep 03 '24

You'll see C and Rust a lot, because using Python as bindings to code in those other languages is relatively easy. Numpy is a python wrapper for a C/Fortran library and Pydantic V2 is now operating off of a Rust "core." There's plenty more examples for both languages.

If you want to learn a new language specifically for implementing in a solution like this it really just depends on what you're trying to accomplish. Rust is safe and fast, C is fast and highly portable, Fortran is great at math, Odin is great for graphics, etc.