• thebestaquaman@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    7 hours ago

    I wholeheartedly agree: In my job, I develop mathematical models which are implemented in Fortran/C/C++, but all the models have a Python interface. In practice, we use Python as a “front end”. That is: when running the models to generate plots or tables, or whatever, that is done through Python, because plotting and file handling is quick and easy in Python.

    I also do quite a bit of prototyping in Python, where I quickly want to throw something together to check if the general concept works.

    We had one model that was actually implemented in Python, and it took less than a year before it was re-implemented in C++, because nobody other than the original dev could really use it or maintain it. It became painfully clear how much of a burden python can be once you have a code base over a certain size.