News for hackers. Stuff that matters.
Re:The Case of the Extra 40ms by ActorNightly on Monday December 14, 2020 @11:38PM (#25427062)
Id generalize this to:

If your application is timing critical, and you aren't using things specifically desiged for time critical applications (like RTOS), then you should be doing as much low level implementation yourself as possible.

Re:The Case of the Extra 40ms by PaulDavisThe1st on Tuesday December 15, 2020 @12:16AM (#25427271)
Re:The Case of the Extra 40ms by josefx on Tuesday December 15, 2020 @06:01AM (#25429106)
Or the other way: don't make your application timing critical if it does not have to be. As others point out the hardware provides a buffer and the app only fills in one frame in advance instead of filling the buffer completely when possible.