Maybe D is right about GC after all !
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Wed Dec 20 17:57:32 UTC 2017
On 12/20/2017 03:49 AM, Shachar Shemesh wrote:
> I spend a lot of my time on D trying to work around the limitations that
> the GC is imposing on me, to the point where I feel like much we do here
> is to write our own infrastructure, because we can't use the built-in
> one. To be clear, the problem is a performance one here too, but the
> handling is completely different.
I hear you. A student of mine, Alexandru Jercaianu, is working on
Blizzard, a very interesting approach to memory allocation and safety
(inspired by Microsoft's Project Snowflake).
At the most fundamental level it's a memory-safe implementation of
free(). That allows us to huddle D's entire infrastructure around safe
deterministic memory allocation with little disruption to existing code,
and simple patterns for new code. Stay tuned, we'll have a release soon.
Andrei
More information about the Digitalmars-d
mailing list