News for hackers. Stuff that matters.
Re:OMG: Our Machinery Guidebook by flohofwoe on Thursday December 12, 2019 @06:38AM (#21771031)
std::chrono is a terribly overengineered API even for the STL, and many game companies have banned parts or all of the STL for good reasons (usually not std::chrono related though).

Using an uint64_t (instead of uint32_t or double) to carry "opaque ticks", and a handful conversion function to convert to real-world time units is fine and just a few lines of code.

Re:OMG: Our Machinery Guidebook by niklasgray on Thursday December 12, 2019 @01:03PM (#21774434)
This is exactly what we do.