[Issue 3463] Integrate Precise Heap Scanning Into the GC

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 14 17:51:55 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=3463



--- Comment #112 from Walter Bright <bugzilla at digitalmars.com> 2011-04-14 17:48:22 PDT ---
(In reply to comment #110)
> And allocating heap memory (for objects, structs, dynamic
> arrays, closures, array concatenations, etc) between two frames of a fast video
> game is probably not a wise thing to do (today) in D.

Anything with hard realtime requirements cannot do allocation - even in C/C++,
malloc() does not have an upper limit on its time.

What is done is to pre-allocate everything necessary before entering the hard
realtime section.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list