• dukk ( dukk@programming.dev ) 
      link
      fedilink
      arrow-up
      7
      ·
      3 years ago

      Speed is a serious problem in Python though. Python has its use cases, and so do other languages. Things would not end well if we started using Python for everything.

      • noli ( noli@programming.dev ) 
        link
        fedilink
        arrow-up
        4
        ·
        3 years ago

        This might be an unpopular opinion but python’s speed wouldn’t even be an issue if it was 5x slower than it is now.

        Python is a language designed for write-time performance, not runtime performance.

      • Diplomjodler ( Diplomjodler@feddit.de ) 
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        3 years ago

        If I wanted to write a 3D game engine, I wouldn’t use Python either. But there’s zero chance of me ever doing that. For 90% of things 90% of people do, Python works just fine. And the performance thing is actively being worked on and getting better all the time.

    • Python is the best “glue” language I’ve ever used. When you want to chain together your program’s high-level logic and all of the loops happen inside lower-level languages like Rust, Go, Zig, D or C, Python’s performance is perfectly adequate and it’s so clear and concise it reads like pseudocode.