| Deutsch English Français Italiano |
|
<vtcukk$3n7jv$3@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!eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro <ldo@nz.invalid> 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: <vtcukk$3n7jv$3@dont-email.me> References: <87y0wjaysg.fsf@gmail.com> <vsj1m8$1f8h2$1@dont-email.me> <vsj2l9$1j0as$1@dont-email.me> <vsjef3$1u4nk$1@dont-email.me> <vsjg6t$20pdb$1@dont-email.me> <vsjgjn$1v1n4$1@dont-email.me> <vsjk4k$24q5m$1@dont-email.me> <vsjlcp$230a5$1@dont-email.me> <vsjmdl$277bk$1@dont-email.me> <VsdHP.1828827$TBhc.1078002@fx16.iad> <vskjlo$34st8$1@dont-email.me> <20250402220614.431@kylheku.com> <85mscxlqnb.fsf@nosuchdomain.example.com> <vsl9sn$3vdjj$2@dont-email.me> <20250403121946.134@kylheku.com> <vsms75$1i8ud$1@dont-email.me> <vsnhq6$291i3$4@dont-email.me> <20250409124900.00000fa1@yahoo.com> <vt5r34$inuo$7@dont-email.me> <vt6an7$13tvo$1@dont-email.me> <vt6gp0$16ejo$1@dont-email.me> <vt7te4$2hqe0$1@dont-email.me> <vt859a$2p7vb$1@dont-email.me> <vt88sa$2rv8r$2@dont-email.me> 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.