Article about problems & suggestions for D 2.0

Josh Simmons simmons.44 at gmail.com
Wed Aug 31 22:35:36 PDT 2011


On Thu, Sep 1, 2011 at 3:23 PM, Walter Bright
<newshound2 at digitalmars.com> wrote:
>
> And note that if you've got hard real time constraints, you cannot even use
> malloc/free, as they do not run in bounded time.
>

They're generally avoided in game code anyway because they're slow.

Games don't have hard real time constraints though in the strictest
sense, but you have a fixed budget with which to work all game logic
and rendering having the GC kick in at the wrong time or run a bit
longer than expected can lead to very nasty frame drops. You really
need to be able to say when you want the GC to run, and how long
you're willing to give it to execute.


More information about the Digitalmars-d mailing list