From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 19417 invoked from network); 11 Sep 2022 16:20:21 -0000 Received: from minnie.tuhs.org (50.116.15.146) by inbox.vuxu.org with ESMTPUTF8; 11 Sep 2022 16:20:21 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id C5F4F42299; Mon, 12 Sep 2022 02:19:58 +1000 (AEST) Received: from minun.buric.co (minun.buric.co [51.15.8.196]) by minnie.tuhs.org (Postfix) with ESMTP id 4487842295 for ; Mon, 12 Sep 2022 02:19:54 +1000 (AEST) Received: by minun.buric.co (Postfix, from userid 1000) id C055C35C1008; Sun, 11 Sep 2022 12:20:32 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by minun.buric.co (Postfix) with ESMTP id AB66535C0EDB for ; Sun, 11 Sep 2022 12:20:32 -0400 (EDT) Date: Sun, 11 Sep 2022 12:20:32 -0400 (EDT) From: Steve Nickolas X-X-Sender: mary@sd-119843.dedibox.fr To: TUHS main list In-Reply-To: Message-ID: References: <45A8556C-CAFE-420A-8571-974B9D67D436@iitbombay.org> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Message-ID-Hash: 4BLIMEYQ5CDWNJZTNISKU44UO53ZLSUE X-Message-ID-Hash: 4BLIMEYQ5CDWNJZTNISKU44UO53ZLSUE X-MailFrom: usotsuki@buric.co X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-tuhs.tuhs.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: Does anybody know the etymology of the term "word" as in collection of bits? List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Sun, 11 Sep 2022, Paul Winalski wrote: > On 9/11/22, Bakul Shah wrote: >> >> C's INT_MAX, LONG_MAX etc are kind of an environment enquiry... > > What size to use in C for int and long (pointers had to be 64-bit; no > issue there) was a big headache for DEC in the migration of Unix > (Ultrix) from VAX to Alpha. The first C compiler implementation used > ILP64 (64 bits for int, long, and pointer) and ran afoul of a lot of > code that assumed an int was 32 bits. ILP64 vs. LP64 because as > divisive an issue as the big-endian vs. little-endian debate. > > -Paul W. When I first wrote C code I *assumed* things that were only necessarily true on the platform I learned on (char=8, short=16, long=32; int=16, pointer could be either 16 or 32, requiring the addition of the keywords "near" and "far"). (I'm glad C99 introduced , but on that platform the only C99 compiler is OpenWatcom.) -uso.