Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Agree - case in point - dealing with race conditions. You have to reason thru the code.


> case in point - dealing with race conditions.

100%. Case in point for case in point - I was just scratching my head over some Claude-produced lines for me, thinking if I should ask what this kind entity had in mind when using specific compiler builtins (vs. <stdatomic.h>), like, "is there logic to your madness..." :D

  size_t unique_ips = __atomic_load_n(&((ip_database_t*)arg)->unique_ip_count, __ATOMIC_SEQ_CST);
I think it just likes compiler builtins because I mentioned GCC at some point...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: