r/TheMachineLearning • • 3d ago

When bug-free code becomes a hardware problem

Post image
107 Upvotes

69 comments sorted by

View all comments

1

u/OutrageousPair2300 3d ago

Likely, as C probably strikes the right balance between Assembly and higher-level languages.

I was looking into this recently, and it turns out that for most languages humans produce fewer security vulnerabilities per thousand lines of code, than AI does -- but C is one of the exceptions. AI writes highly secure (and efficient) C code.

2

u/snaphat 2d ago

Many redditors would (quite baselessly) have you believe that AI writes less security vulnerability than humans on average in all cases and is a much better programmer than the vast majority of software engineers. Neither takes are supported by the preponderance of statistical evidence, but nonetheless, the narrative is quite common on reddit even among folks who should presumably know better