15 points Qem 2 hours ago 9 comments

actionfromafar 1 hour ago | parent

makaimc 1 hour ago | parent

35 years on since the first public Python release and there'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's impossible to get "an objective and universal measure of the performance of a programming language".

brianwawok 48 minutes ago | parent

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

ks2048 42 minutes ago | parent

For a lot of scripts (think replacement to bash scripts - perhaps even one-offs), Python will save time over rust compilation times.

nazcan 36 minutes ago | parent

Golang it is then! I'm really enjoying the fast compile time compared to C++...

loeg 1 minute ago | parent

Non-optimized builds can be pretty quick, although I guess you're always paying for borrow checking.

sgarland 18 minutes ago | parent

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.

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.

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 tabs - 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).

loeg 2 minutes ago | parent

Of course, Claude understands Rust, too.

rurban 57 seconds ago | parent

2 benchmarks only? A very broad sense of coverage