ivmarkov[m]: > <@ivmarkov:matrix.org> No sorry - was about to ask whether you have / have thought of implementing a `Box` which is generic over its (de)-allocator. So that it can be used with any pooled implementation, including with a raw non-pooled `malloc`/`free` based (de)allocator. But I have something which at least type-checks in the meantime (based on my previous adventures with writing a custom `Box` for Espressif's SPIRAM memory - as I'm also trying to enter the "roll your own custom allocator" business :p ): > > https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=f475cca8323bde74b9af0899c9be4482 phew, I can't wrap my head around that. Feel free to ping me about that later, but "how you deallocate" is a property of the item. It sounds like you are re-inventing the `Allocator` trait, which is the hidden `A` parameter of `Box`