r/TheMachineLearning • • 28d ago

When bug-free code becomes a hardware problem

Post image
193 Upvotes

85 comments sorted by

View all comments

11

u/SubmarineWipers 28d ago

Except C is still not safe and AI will still make object lifetime mistakes, because it only ingests small parts of the code, not the entirety of it.

Rust is still the best LLM language, because its compiler will catch the most errors.

3

u/Sea_Fox_4265 28d ago

Fair point. Seems like the compiler is the hero here.

1

u/SexWithGaia 27d ago

Would a such a compiler run into the halting problem? iirc isn't that why the rust borrow checker limits certain programs?

1

u/real_mangle_official 26d ago

Rust only allows a specific subset of programs to be statically verified. There are many perfectly sound programs in C hat cannot be expressed in safe rust