3 ms·
The people I know using C++ for games wrote their own atomics library :-)
by WalterBright 7y ago
The people I know using C++ for games wrote their own atomics library :-)
- quicknir 7y agoWell 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.
- jcelerier 7y ago> Atomics in C++ compile to assembly in very straightforward ways in release mode.