News for hackers. Stuff that matters.
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.