• Shanmugha@lemmy.world
    link
    fedilink
    arrow-up
    1
    arrow-down
    2
    ·
    10 hours ago

    Well, it really is. Went for Rust from Python and gained faster execution - wooow, no waaaay. No other language can do that (sarcasm, and to add more to it: did they ever try to actually optimise code first?)

    • fruitcantfly@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      3 hours ago

      The way to really optimize Python code, is by reducing the amount of Python code in your program, since Python itself is dog slow. Instead, you want to offload as much of the work as possible to modules written in compiled languages. So completely switching to Rust, or another compiled language, is simply taking that strategy to its logical conclusion