On exceptions in D

Adam D. Ruppe destructionator at gmail.com
Sun Feb 9 10:50:56 PST 2014


On Sunday, 9 February 2014 at 18:05:42 UTC, Jakob Ovrum wrote:
> This isn't accurate. GC is inherent to the `new` operator, not 
> to classes.

The new operator doesn't necessarily have to GC. It isn't hard to 
hack it to use another method, even for a particular type of 
object: http://arsdnet.net/dcode/except.d

But this pales in comparison to the wasteful construction of 
stack traces that is currently done on linux.



More information about the Digitalmars-d mailing list