Re:Julia 1.0
by ChrisRackauckas on Friday August 10, 2018 @07:26PM
(#17737411)
Interesting to hear. This just isn't a thing I think is ever encountered in this kind of stuff. The author's previous struggle was to get to real-time. Getting below it wasn't something they really considered. Here's a talk they gave:
You can see how much extra time is left for that frame at the targeted frame rate, then sleep for that amount of time.
Then you never have to slow down anything else, you can set a maximum amount of cycles per second and you can sleep once per cycle. The faster the CPU, the less power it should use.