Region-based memory management and GC?

Igor stojkovic.igor at gmail.com
Sat Sep 30 07:41:21 UTC 2017


On Friday, 29 September 2017 at 22:13:01 UTC, Jon Degenhardt 
wrote:
> Have there been any investigations into using region-based 
> memory management (aka memory arenas) in D, possibly in 
> conjunction with GC allocated memory? This would be a very 
> speculative idea, but it'd be interesting to know if there have 
> been looks at this area.
>
> My own interest is request-response applications, where memory 
> allocated as part of a specific request can be discarded as a 
> single block when the processing of that request completes, 
> without running destructors. I've also seen some papers 
> describing GC systems targeting big data platforms that 
> incorporate this idea. eg. 
> http://www.ics.uci.edu/~khanhtn1/papers/osdi16.pdf
>
> --Jon

Sounds like just want to use 
https://dlang.org/phobos/std_experimental_allocator_building_blocks_region.html.


More information about the Digitalmars-d-learn mailing list