digitalmars.D.learn - Region-based memory management and GC?
- Jon Degenhardt (12/12) Sep 29 2017 Have there been any investigations into using region-based memory
- Igor (4/17) Sep 30 2017 Sounds like just want to use
- Jon Degenhardt (2/9) Sep 30 2017 Wow, thanks, I did not know about this. Will check it out.
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
Sep 29 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 --JonSounds like just want to use https://dlang.org/phobos/std_experimental_allocator_building_blocks_region.html.
Sep 30 2017
On Saturday, 30 September 2017 at 07:41:21 UTC, Igor wrote:On Friday, 29 September 2017 at 22:13:01 UTC, Jon Degenhardt wrote:Wow, thanks, I did not know about this. Will check it out.Have there been any investigations into using region-based memory management (aka memory arenas) in D, possibly in conjunction with GC allocated memory?Sounds like just want to use https://dlang.org/phobos/std_experimental_allocator_building_blocks_region.html.
Sep 30 2017