News for hackers. Stuff that matters.
Re:D as a C Replacement by WalterBright on Wednesday July 03, 2019 @02:09AM (#20342014)
The people I know using C++ for games wrote their own atomics library :-)
Re:D as a C Replacement by quicknir on Wednesday July 03, 2019 @02:41AM (#20342144)
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.
Re:D as a C Replacement by jcelerier on Wednesday July 03, 2019 @03:27AM (#20342329)
> Atomics in C++ compile to assembly in very straightforward ways

in release mode.