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

Hands up, the dozens of us pedants that have used a relaxed atomic add in situations like these. Updating the SP in the most paranoid way possible is the reason that sort of thing exists.

(You cannot express relaxed atomics in golang, but you could technically add support in the compiler for use in the runtime code)



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

Search: