logoalt Hacker News

jchooktoday at 5:38 AM3 repliesview on HN

Good point.

It's sometimes challenging to get a Rust program to compile... but if you do, it's probably going to work.


Replies

moomintoday at 6:46 AM

The authors make some good points: compile time and test speed matter, platforms matter. But they really dodge the whole “guardrails matter” thing. And guardrails are going to win long term.

As for readability, the fact that AI-written Go closely resembles human-written Go is not necessarily a point in Go’s favour.

show 2 replies
throwaway63467today at 9:34 AM

Not panicking doesn’t mean working as intended, the biggest issue with LLM generated code is that it will do something that’s subtly wrong not that it will crash. It anything LLMs are too careful with Golang code and litter useless nil checks everywhere e.g. for function calls with pointer receivers. That whole fear of panics is totally overblown.

Pavilion2095today at 9:18 AM

And by that point a program written in go has been deployed and making money for months. These are two wildly different languages, people should stop comparing them as if they're targetting the same niche. Checks and protections that rust has aren't necessary in most cases, but increase development and maintenance time.

show 1 reply