Path: ...!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro Newsgroups: comp.sys.raspberry-pi Subject: Re: RP2350 and Pico 2 - things missing Date: Sun, 1 Sep 2024 07:49:37 -0000 (UTC) Organization: A noiseless patient Spider Lines: 16 Message-ID: References: <50ae75b3cdb83be61d995844169642d211670e3e.camel@munted.eu> <20240822115703.a377f409dd25c1b1f76f6c61@eircom.net> <20240823111241.fa25c2e204942a50ef8ccac5@eircom.net> <20240824091356.eadff502925e2f0760693e89@eircom.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 01 Sep 2024 09:49:37 +0200 (CEST) Injection-Info: dont-email.me; posting-host="451ad815162a3f3080e1cdc6c6433f29"; logging-data="1496996"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX185AN4AAowcaBpBzWBXVoBS" User-Agent: Pan/0.160 (Toresk; ) Cancel-Lock: sha1:c8RvY7MGK57u1Midz8ZYbz99dl0= Bytes: 2307 On Wed, 28 Aug 2024 21:29:03 +0100, druck wrote: > On 28/08/2024 00:30, Lawrence D'Oliveiro wrote: > >> Compare the POSIX APIs, where they were careful to use generic types >> like “size_t” and “time_t”, so that the same code could be compiled, >> unchanged, to work on both 32-bit and 64-bit architectures. Not >> something Windows code can manage. > > You can do this on Windows too, but they had to bastardise their C > compiler for people that hadn't. It's the only one that on a 64 bit > platform that has long as 32 bits. I know. This is why you have “LP64” (long and pointers both 64-bits) versus “LLP64” (only long long and pointers are 64 bits, long is still 32 bits). I think LP64 is pretty much universal outside the Windows world.