GSlice - Re: [OT] About GC: The Future of Rust : GC integration

Nick Treleaven via Digitalmars-d digitalmars-d at puremagic.com
Wed Jun 8 04:59:49 PDT 2016


On Wednesday, 8 June 2016 at 03:50:26 UTC, deadalnix wrote:
> (a fast malloc already needs to be able to find the allocation 
> metadata from free's argument effisciently,

BTW GLib (GTK+) have a GSlice API that doesn't allow resizing and 
requires the allocation size to be passed when freeing:

https://developer.gnome.org/glib/stable/glib-Memory-Slices.html#glib-Memory-Slices.description

I wonder if Andrei's allocator API supports freeing with a size 
argument.



More information about the Digitalmars-d mailing list