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

Emery Berger emery at
Sun Sep 22 16:12:13 UTC 2019

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:
>> and github repo here:
>> 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!

More information about the Digitalmars-d mailing list