Re:Rust won: the quest for performant, reliable software [vi...
by akkad33 on Saturday September 13, 2025 @09:48AM
(#45232061)
> Rust is one of the languages that AI is worst at writing - currently, at least
Everyone makes similar statements about AI, Ai is currently bad at this or that. I find it quite good to write Rust. Can you give a concrete example of what AI failed to write for you
Re:Rust won: the quest for performant, reliable software [vi...
by josevalerio on Saturday September 13, 2025 @03:35PM
(#45234704)
Not OP but it consistently says that logging JSON (specifically nested JSON while not having escaped strings) with the tracing crate is not possible or provides wrong solutions.
However this is doable, just under an experimental feature flag since 2022[1]. I created this repo[2] with a small blog post, hopefully the scrapers can pick it up :')
Re:Rust won: the quest for performant, reliable software [vi...
by redman25 on Sunday September 14, 2025 @06:33PM
(#45243956)
I think I disagree with this sentiment. I’ve found AI to be poor at one-shotting rust but give it a short agentic loop running `cargo check` and it can often produce code more solid than that created with a dynamically typed language.
Re:Rust won: the quest for performant, reliable software [vi...
by thekingofravens on Thursday September 18, 2025 @10:15PM
(#45297273)
And when it does finally make something that works in Rust, its admittedly far more trustworthy than AI code in other languages. It does struggle a lot though.
Perhaps there could be a future where the compiler/checker will be able to integrate more closely with whichever agent is attempting to write Rust - more closely than the current paradigm, where a hapless Claude repeatedly bashes its head into the borrow checker to no avail.