Tracing API?
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Sun Dec 22 09:35:56 PST 2013
On 12/22/13 5:50 AM, Benjamin Thaut wrote:
> In my opinion we should first decide on the type of collector to be
> implemented and then implement the subsystems needed by that collector,
> in a way that optimally serves that collector. If someone wants to
> implement another type of collector, they will have to work with whats
> there. In my opinion doing a to generalized solution will lead to bad
> performance and unneccessary issues when implementing the reference
> collector.
Agreed. What worked for std.allocator was to set out to implement a
number of classic allocation tropes and seek out the smallest API that
would do. Of course that means figuring what tropes are important and
how to best implement them. As they say, there's no substitute for
expertise :o).
Andrei
More information about the Digitalmars-d
mailing list