Plan for Exceptions and @nogc?

Jonathan Marler via Digitalmars-d digitalmars-d at puremagic.com
Mon Feb 16 15:17:02 PST 2015


Is there a proposal for how D will support throwing Exceptions in 
@nogc code in the future?  I've searched the forums and found 
different proposals that involve things like pre-allocated 
exceptions, non-gc heap allocated exceptions or even stack 
allocated exceptions.  I don't want to debate the details of each 
solution, I'd just like to know if any of these proposals are 
deemed a "good idea", or if any of them are currently being 
worked on.  I personally think that using non-gc heap allocated 
exceptions in combination with the new scope semantics would be a 
great solution in many cases, but I don't know if there is any 
consensus or if this topic is just on the back-burner. Thanks.


More information about the Digitalmars-d mailing list