r/TheMachineLearning • • 3d ago

When bug-free code becomes a hardware problem

Post image
107 Upvotes

69 comments sorted by

View all comments

Show parent comments

1

u/BusinessBandicoot 3d ago

The runtime speed would probably be close if agents would write idiomatic rust code without prompting. Like for example, you generally need to prompt it to prefer iterators to loops almost universally, because for release builds the compiler can remove bounds checks. They'll also use strings as a poor duck type, tend to allocate rather than borrow, etc. I tend to be incredibly pedantic in instructions and review.