A detailed examination of Python 3.12’s internal changes featuring the concept of ‘immortal’ objects, for performance enhancements

  • DefinitelyNotBirds@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    27
    ·
    edit-2
    1 year ago

    Breaking News: Python Sets New Record in Slowness Competition! Participants in awe of how Python lags behind C++, Java, C#, Ruby, Go and PHP in the race to the finish line. Stay tuned as we watch Python take its leisurely stroll in the world of programming speed!!!Breaking News: Python Sets New Record in Slowness Competition! Participants in awe of how Python lags behind C++, Java, C#, Ruby, Go and PHP in the race to the finish line. Stay tuned as we watch Python take its leisurely stroll in the world of programming speed!!!

    • Kerfuffle@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      18
      ·
      1 year ago

      Participants in awe of how Python lags behind C++, Java, C#, Ruby, Go and PHP

      Comparing Python to compiled languages is like C++ is pretty unreasonable.

    • xep@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      12
      ·
      1 year ago

      You will appreciate this news then since it’s an optimization that’ll make it faster.

    • InvertedParallax@lemm.ee
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      It’s python, it’s supposed to be slow.

      Assembly runs the hardware, c kernel runs the assembly, c++ runs the libraries on the kernel, python runs rhe c++, the human runs the python.

      Used to write all my uis in c++, but the turnaround time for python is just incredible, write the business logic there, if it turns out you’re using it to much lower it to c++.