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 connectionsPath: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Lawrence D'Oliveiro
Newsgroups: comp.lang.c
Subject: Re: "A diagram of C23 basic types"
Date: Sat, 12 Apr 2025 05:44:52 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 18
Message-ID:
References: <87y0wjaysg.fsf@gmail.com>
<20250402220614.431@kylheku.com>
<85mscxlqnb.fsf@nosuchdomain.example.com>
<20250403121946.134@kylheku.com>
<20250409124900.00000fa1@yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 12 Apr 2025 07:44:52 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="2e5924fe3d9905cd5f265cdbfb6deffb";
logging-data="3907199"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19gCSbcWxFnFtigEO/n4lmk"
User-Agent: Pan/0.162 (Pokrosvk)
Cancel-Lock: sha1:BQ2UFHDEnCClcd86a6ouVJ0Gc84=
Bytes: 2297
On Thu, 10 Apr 2025 12:08:58 +0100, bart wrote:
> * Each function now needs an accompanying struct
>
> * The function header does not list the parameter names or types
Both are housekeeping aspects which could probably be handled with macros
(waves hands airily).
> * When structs are passed by-value as is the case here, it can mean
> copying the struct, an extra overhead
No more so than copying the argument list in the first place, surely.
> * It can also mean construction an argument list in memory, rather than
> passing arguments efficiently in registers
That’s an implementation issue.