Hacker News new | ask | show | jobs
by WalterBright 2538 days ago
The people I know using C++ for games wrote their own atomics library :-)
1 comments

Well you can certainly elect to torture yourself if you really want to. Atomics in C++ compile to assembly in very straightforward ways and there isn't really an enormous design space there. Preshing certainly makes it seem like Ubisoft is using C++ atomics; if it makes sense for them with so many developers and creating AAA games... I'd be curious to know the motivation for writing their own.
> Atomics in C++ compile to assembly in very straightforward ways

in release mode.