← Back to context

Comment by octoberfranklin

17 hours ago

Hardware driver bugs frequently manifest as concurrency flakiness or heisenbugs.

AI is notoriously bad at dealing with bugs that only cause problems every few weeks.

I've found ai really good at the rare problems. The code hangs 1 out of 200 times - it spends half an hour and finds a race condition and a proposed fix - something complex that is really difficult for humans to figure out. Now grated the above problem took a dozen rounds over a couple days to completly solve (and it happend more often than every two weeks), but it was able to find an answer given symptoms.

I've thought for a while now that we'll end up moving to stricter languages that have safer concurrency, etc, partly for this reason. The most prominent resistance against such languages was the learning curve, but humans like OP aren't looking at the code now.