• @[email protected]
    link
    fedilink
    English
    1
    edit-2
    14 days ago

    Honestly most people use Python because it has fantastic libraries. They optimize it because the language is middling, but the libraries are gorgeous

    ETA: This might double post because my Internet sucks right now, will fix when I have a chance

      • @[email protected]
        link
        fedilink
        English
        014 days ago

        What do I care what language the library is written in as long as it works for what I need it do?

        • @[email protected]
          link
          fedilink
          English
          113 days ago

          Exactly! Most of the important libraries in other languages have Python support. So I can use Python and not care if they wrote the library in C++, Rust, or something more exotic, provided it works in Python.

          Python is more about gluing stuff together than writing a bunch of greenfield logic. If you run into performance problems and you’re using Python, the best solution is to start rewriting the slow parts in something faster, not to rewrite the whole thing in something different.

          That said, most of my personal projects are in Rust, for a variety of reasons. But I still use a lot of Python as well, and it’s what I use 99% of the time at work.