Re:No sane compiler would optimize atomics (2015)
by benibela on Monday July 12, 2021 @02:06PM
(#27813217)
Unfortunately, classes teaching C often start with telling people that with C they learn how the real machine and the real CPU works on the lowest levels.
[ Parent
| on HN ]
Re:No sane compiler would optimize atomics (2015)
by weeblewobble on Monday July 12, 2021 @05:18PM
(#27815256)
I'd be surprised if this was true. It certainly doesn't match my experience, and it also doesn't really make sense. The difference between machine code, assembly, and programming languages like C is first-week CS 101 stuff. What are you basing this on?