Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <v3ueav$1vrim$1@dont-email.me>
Deutsch   English   Français   Italiano  
<v3ueav$1vrim$1@dont-email.me>

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

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: BGB <cr88192@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: C23 thoughts and opinions
Date: Fri, 7 Jun 2024 02:52:56 -0500
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <v3ueav$1vrim$1@dont-email.me>
References: <v2l828$18v7f$1@dont-email.me> <v2unfe$3alds$1@dont-email.me>
 <v2v637$3cunk$1@raubtier-asyl.eternal-september.org>
 <v3dmq6$2edto$1@dont-email.me> <hOu6O.6223$xPJ1.1866@fx09.iad>
 <20240602110213.00003b25@yahoo.com> <v3hn2j$3bdjn$1@dont-email.me>
 <20240602162914.0000648c@yahoo.com> <v3ii22$3g9ch$1@dont-email.me>
 <20240603120043.00003511@yahoo.com> <v3kra8$3vgef$1@dont-email.me>
 <Kvm7O.5231$Ktt5.2929@fx40.iad> <20240603225856.0000679d@yahoo.com>
 <3uq7O.9130$nd%8.1870@fx45.iad> <20240603221239.245@kylheku.com>
 <v3nk1q$h9jb$1@dont-email.me> <v3p38t$s5n4$2@dont-email.me>
 <v3p9hj$tda7$1@dont-email.me> <v3tlue$1o860$9@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 07 Jun 2024 09:54:08 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="bcd181c8a8249ff7c60382eea8a36cf2";
	logging-data="2092630"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18UreNBUPSlWOwOG2sqm6El2e8Avkr0hLg="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:B5i6qYCS1BaMTD19IQJZdsYohn8=
Content-Language: en-US
In-Reply-To: <v3tlue$1o860$9@dont-email.me>
Bytes: 2439

On 6/6/2024 7:57 PM, Lawrence D'Oliveiro wrote:
> On Wed, 5 Jun 2024 04:01:28 -0500, BGB wrote:
> 
>> For my bounds-checking in C, there are no syntactic changes to C.
> 
> But how efficient is it? Those research papers I mentioned reported being
> able to get the execution overhead in Pascal down to something like 5-10%.

Also somewhere around a 10% slowdown in this case, but this was with 
dedicated ISA level support and various specialized helper instructions 
(to check/set/adjust the pointer bounds bits).

If it were done purely in software using "fat pointers" or similar, 
likely the overhead would be significantly higher than this.


It seems sensible for debugging or for code that represents an attack 
surface (such as possible network-facing code), but granted, probably 
not ideal for performance sensitive code.