Memory management design

Dicebot public at dicebot.lv
Wed Jul 10 07:35:58 PDT 2013


On Wednesday, 10 July 2013 at 13:57:50 UTC, John Colvin wrote:
> How much of the exception model would have to change in order 
> to free them from the GC? I don't see high performance as a 
> concern for exceptions so even an inefficient situation would 
> be fine.

Well, you can just throw malloc'ed exceptions. Problem is 
druntime and Phobos use "new" for exceptions and that is hard 
wired into GC. That has generally the same issues as global 
customized "new" allocator hook.


More information about the Digitalmars-d mailing list