|
|
|
|
|
by carlmr
324 days ago
|
|
>It cannot reason about the abstract moving parts in a way the human brain can. Just found 3 race conditions in 100 lines of code. From the UTF-8 emojis in the comments I'm really certain it was AI generated. The "locking" was just abandoning the work if another thread had started something, the "locking" mechanism also had toctou issues, the "locking" also didn't actually lock concurrent access to the resource that actually needed it. |
|
This is one of the "here be demons" type signatures of LLM code generation age, along with comments like
// define the payload struct payload {};