Potential of a compiler that creates the executable at once
rempas
rempas at tutanota.com
Sat Feb 12 20:49:23 UTC 2022
On Saturday, 12 February 2022 at 20:22:44 UTC, H. S. Teoh wrote:
>
> 20%-40% is a HUGE difference. Think about a 60fps 3D game where
> you have only 16ms to update the screen for the next frame. If
> your code takes ~13ms to update a frame when compiled with LDC
> -O2, then compiling D will not even be an option because it
> would not be able to meet the framerate and the game will be
> jerky and unplayable. If the difference is 2% or 3% then there
> may still be room for negotiation. 20%-40% is half an order of
> magnitude. There is no way you can compromise with that.
>
> Also, for long-running CPU-intensive computations, which one
> would you rather have: your complex computation to finish in 2
> days, which may just make the deadline, or ~4 days, which will
> definitely *not* meet the deadline? Again, if the difference
> is 2% or 3% then you may still be able to work with it. 20%-40%
> is unacceptable.
>
>
> T
Game dev was what I was sure about and the first thing that comes
in mind when we talk about runtime performance. The second
example was a good one too! Thank you!
More information about the Digitalmars-d
mailing list