5 comments

  • brianwawok1 hour ago
    So Claude can convert python code bases to rust or golang, and give you an easy 10x speed boost. Much better than waiting for Python performance to improve
    • sgarland1 hour ago
      There is a benefit in being able to read and understand your code. If you’re most proficient in Python, it’s reasonable to want to stay there, perhaps looking to PyPy.<p>Also, of course, the majority of SaaS apps (perhaps most apps in general?) are not compute-bound, so gains from performance alone shouldn’t be the only metric.<p>My current job has a mix of Python and Go. Personally, I dislike Go. I don’t like its syntax, I don’t like its utter lack of formatting standards (gofmt is not a standard; also it sets <i>tabs</i> - ugh), I don’t like its insistence on static linking, and I don’t like how people claim it’s a great scripting language when you can’t just run a file on its own (and its stdlib is weak sauce compared to Python).
      • loeg52 minutes ago
        Of course, Claude understands Rust, too.
    • ks20481 hour ago
      For a lot of scripts (think replacement to bash scripts - perhaps even one-offs), Python will save time over rust compilation times.
      • cogman1026 minutes ago
        For one offs, sure. But once you get to a script executed multiple times it doesn&#x27;t take very long before you have payed off the rust compile time. Especially if it is fairly simple (as in, you can do everything with just rust std lib and not a bunch of rust libs).<p>Almost all the rust compilation times come from needing to build the supporting libs. For simple scripts, it&#x27;s very possible to get away with just using the std lib.
        • UnlockedSecrets17 minutes ago
          At the same time, If a python script can be thrown together in 20 minutes, and it will execute hundreds of times at most..... Who really cares if it takes 25 seconds to execute, or 2 minutes as long as it accomplishes all it is intended to do?
      • nazcan1 hour ago
        Golang it is then! I&#x27;m really enjoying the fast compile time compared to C++...
      • loeg52 minutes ago
        Non-optimized builds can be pretty quick, although I guess you&#x27;re always paying for borrow checking.
  • makaimc1 hour ago
    35 years on since the first public Python release and there&#x27;s still so much room for improvement in its performance. These tests by Miguel are a useful quick check on that progress in 3.15 even if as he admits it&#x27;s impossible to get &quot;an objective and universal measure of the performance of a programming language&quot;.
  • rurban51 minutes ago
    2 benchmarks only? A very broad sense of coverage
  • actionfromafar1 hour ago
    Not as fast as <a href="https:&#x2F;&#x2F;github.com&#x2F;shedskin&#x2F;shedskin" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;shedskin&#x2F;shedskin</a>