News for hackers. Stuff that matters.
Re:Migrating from Go to Rust by cdud3 on Monday May 25, 2026 @05:23AM (#48264947)
I found it's the opposite. Thanks to LLM's whole classes of problems otherwise solved by using Rust are gone. It's now more important that the generated code is easy to read.
Re:Migrating from Go to Rust by afdbcreid on Monday May 25, 2026 @04:30PM (#48271322)
Relative to Go? I'm pretty sure your Go code won't be faster if you used LLMs. If you need that, Rust is still preferred.

Relative to C/C++? That'll be very interesting. Do you have some evidence that LLMs can create memory-safe code in C/C++? It'll be truly amazing if true, but given that they apparently struggle to create/maintain big codebases in already-memory-safe languages I seriously doubt it.

Re:Migrating from Go to Rust by cdud3 on Tuesday May 26, 2026 @02:53PM (#48284171)
Yes, generated C++ is memory-safe. Also there is much more C/C++ code out there LLM's got trained on showing in the quality.