Mesh: a new approach to memory compaction for C/C++

Andrei Alexandrescu SeeWebsiteForEmail at erdani.com
Mon Sep 23 19:35:11 UTC 2019


On 9/22/19 12:12 PM, Emery Berger wrote:
> On Tuesday, 17 September 2019 at 14:06:06 UTC, Stefan Koch wrote:
>> On Tuesday, 17 September 2019 at 11:42:51 UTC, Per Nordlöw wrote:
>>> strangeloop talk here:
>>>
>>> https://www.youtube.com/watch?v=c1UBJbfR-H0
>>>
>>> and github repo here:
>>>
>>> https://github.com/plasma-umass/Mesh
>>>
>>> Sounds to me like making D's GC precise by default to enable memory 
>>> compaction is worth pursuing.
>>
> 
> (Mesh co-author here)
> 
> FWIW, Mesh eliminates the need for precise garbage collection.
> 
>> I've just skimmed the paper.
>> It seems that all this does is to defragment the memory at runtime.
> 
> "all this does"?? That's a lot! :)
> 
> Mesh is the first system to automatically perform defragmentation for 
> C-like languages.
> 
> -- emery
> 
> PS We'd love to see it adopted by D, and we welcome comments and pull 
> requests!

Thanks, Emery. I'm cc'ing my students with this and will make the point 
to consider this a possible project for our upcoming students. Also, we 
should put this on the ideas page for GSoC and SAoC.


More information about the Digitalmars-d mailing list