John Carmack applauds D's pure attribute

H. S. Teoh hsteoh at quickfur.ath.cx
Sun Feb 26 08:00:22 PST 2012


On Sun, Feb 26, 2012 at 04:48:12PM +0100, so wrote:
> On Sunday, 26 February 2012 at 15:22:09 UTC, deadalnix wrote:
> 
> >True, but the problem of video game isn't how much computation you
> >do to allocate, but to deliver a frame every few miliseconds. In
> >most cases, it worth spending more in allocating but with a
> >predictable result than let the GC does its job.
> 
> Absolutely! It cracks me up when i see (in this forum or any other
> graphics related forums) things like "you can't allocate at
> runtime!!!" or "you shouldn't use standard libraries!!!". Thing is,
> you can do both just fine if you just RTFM :)
[...]

Would this even be an issue on multicore systems where the GC can run
concurrently? As long as the stop-the-world parts are below some given
threshold.


T

-- 
Ruby is essentially Perl minus Wall.


More information about the Digitalmars-d mailing list