| ▲ | zdragnar 17 hours ago | |||||||||||||||||||||||||
It isn't like rust is the only language with memory safety; plenty of high level languages don't let you fiddle with memory bits in a way that would be unsafe. The tradeoff is that they typically come with garbage collectors. If the only concern is "can an LLM write code in this language without memory errors" then there's plenty of reasons to choose a language other than Rust. | ||||||||||||||||||||||||||
| ▲ | nialv7 17 hours ago | parent | next [-] | |||||||||||||||||||||||||
But the author isn't saying we should program in any of these memory safe languages. The author is saying why don't we vibe code in C, or even assembly. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | Maxatar 15 hours ago | parent | prev [-] | |||||||||||||||||||||||||
The trade-off is intended to make it easier for people to write software. Garbage collected languages make it easier for people to write memory safe code at the expense of performance, significantly greater memory usage, and heavy dependencies/runtimes. These trade-offs are wholly unnecessary if the LLM writes the software in Rust, assuming that in principle the LLM is able to do so. | ||||||||||||||||||||||||||