Deutsch   English   Français   Italiano  
<1026eu1$gfc6$2@raubtier-asyl.eternal-september.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: news.eternal-september.org!eternal-september.org!raubtier-asyl.eternal-september.org!.POSTED!not-for-mail
From: Bonita Montero <Bonita.Montero@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: encapsulating directory operations
Date: Mon, 9 Jun 2025 13:01:37 +0200
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <1026eu1$gfc6$2@raubtier-asyl.eternal-september.org>
References: <100h650$23r5l$1@dont-email.me>
 <1e3f53801e22a94356b9b0aded0ed7d33e67fd06.camel@gmail.com>
 <1021pgp$35sqk$1@raubtier-asyl.eternal-september.org>
 <1858c98adc50b2bec4021f15d0c5b94e2158f6b5.camel@gmail.com>
 <10223hq$38g0s$1@raubtier-asyl.eternal-september.org>
 <5484915e06dec7fa7a1371a9eb41801a00495079.camel@gmail.com>
 <1023gak$3nt1m$1@raubtier-asyl.eternal-september.org>
 <1023j6o$3ogga$1@dont-email.me>
 <10248l1$3tavs$1@raubtier-asyl.eternal-september.org>
 <1024910$3tdrq$1@dont-email.me> <qgj1Q.929647$mjgd.293482@fx09.iad>
 <1026cjm$g02c$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 09 Jun 2025 13:01:22 +0200 (CEST)
Injection-Info: raubtier-asyl.eternal-september.org; posting-host="acabef608228f73cc3be98d7637ae940";
	logging-data="540038"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18zSdaSQ7ifeGwvPAQhVerLtQthxKEt8YY="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:bKUbuDmErcwf/pSJA+Txpy5U3xM=
In-Reply-To: <1026cjm$g02c$1@dont-email.me>
Content-Language: de-DE

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.