News for hackers. Stuff that matters.
Re:Benchmarking Ruby 2.6 to 3.2 by bhaak on Monday December 26, 2022 @11:34AM (#34139159)
> Python has gotten significantly faster

All the synthetic benchmarks I've seen claim that Ruby is at least on par with Python's speed if not faster. Like this https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

But then speed in a dynamic language is often very context dependent. If I want to do Rails I won't choose Python. If I want to do machine learning, Python is the obvious choice.

> Obviously packaging for Python is still a pain but I don’t see Ruby being better

Ruby packaging just works whereas Python's is a pain. Can't see how you don't see it being better.

Re:Benchmarking Ruby 2.6 to 3.2 by skrtskrt on Monday December 26, 2022 @11:43AM (#34139266)
Those benchmarks are with Python 3.10 - the big recent speedups are in 3.11, with more to come

> The Python 3.11 release announcement cites 10~60% improvements over Python 3.10 and a 1.22x speed-up for its standard benchmark suite.

Re:Benchmarking Ruby 2.6 to 3.2 by igouy on Friday January 27, 2023 @03:34PM (#34551457)
Re:Benchmarking Ruby 2.6 to 3.2 by lraktr on Monday December 26, 2022 @11:50AM (#34139326)
Yeah, the Debian benchmarks are independent.

The recent Python benchmarks all seem to use the same benchmark suite (which is incredibly complex to the point that it's unclear what is actually being measured) or hype the Microsoft involvement.

Even if you believe them, it is just 10-60% speedup for a very slow language. It won't show up in web applications.