Sujet : Re: encapsulating directory operations
De : Bonita.Montero (at) *nospam* gmail.com (Bonita Montero)
Groupes : comp.lang.cDate : 09. Jun 2025, 12:01:37
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <1026eu1$gfc6$2@raubtier-asyl.eternal-september.org>
References : 1 2 3 4 5 6 7 8 9 10 11 12
User-Agent : Mozilla Thunderbird
Am 09.06.2025 um 12:21 schrieb
Muttley@DastardlyHQ.org:
Same here. I think with exceptions the clue is in the name. They should really
only be used for exceptional circumstances, not as a general minor error
handling mechanism.
In Java they're also used for things that are more likely. But although
Java is significantly slower than C++, exceptions are a magnitude faster
than in C++.
That's while with current table-driven exception handling does need to
find the handler for the callers return address. As shared libraries
might be loaded and unloaded asynchronously you've to ask the kernel
for the image of every return address, and that's slow.