logoalt Hacker News

brianwawok • yesterday at 11:50 PM • 3 replies • view on HN

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


Replies

sgarland • today at 12:21 AM

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

➕ show 3 replies
ks2048 • yesterday at 11:56 PM

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

➕ show 3 replies
tclancy • today at 1:42 AM

Why not convert to assembly?

➕ show 1 reply