D on next-gen consoles and for game development

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Thu May 23 14:42:55 PDT 2013


On 05/23/2013 08:43 PM, H. S. Teoh wrote:
> I listened to Manu's talk yesterday, and I agree with what he said, that
> Phobos functions that don't *need* to allocate, shouldn't. Andrei was
> also enthusiastic about std.algorithm being almost completely
> allocation-free. Maybe we should file bugs (enhancement requests?) for
> all such Phobos functions?

I'm also in agreement with Manu.  There may well already be bugs for some of
them -- e.g. there is one for toUpperInPlace which he referred to, and the
source of the allocation is clear and is even responsible for other bugs:
http://d.puremagic.com/issues/show_bug.cgi?id=9629

I asked for a list because, even if all the cases are registered as bugs, it's
not necessarily easy to find them.  So, we need to either tag all the bugs so
they can be found easily, or make a list somewhere.


More information about the Digitalmars-d mailing list