Does D use zero-cost exceptions?

matheus matheus at gmail.com
Mon Apr 29 13:12:05 UTC 2019


On Monday, 15 April 2019 at 19:25:24 UTC, A wrote:
> It is well known that exceptions are much slower than their 
> alternatives, but is there a performance cost for using 
> try/catch, even when no Exception/Error is being thrown?

Herb Sutter ACCU presentation about this Exception Handling x 
Zero-Overhead: https://youtu.be/os7cqJ5qlzo?t=860

Matheus.


More information about the Digitalmars-d mailing list