logoalt Hacker News

amlutotoday at 2:16 PM1 replyview on HN

Huh? Other languages that compile to machine code and offer control over struct layout and access to the machine’s atomic will work the same way.

Sure, C++ has a particular way of describing atomics in a cross-platform way, but the actual hardware operations are not specific to the language.


Replies

dalvrosatoday at 2:23 PM

Yeah, different languages will have different syntaxes and ways of using atomics

But at the hardware level all are kindof the same