Article View: comp.arch
Article #832Re: packaging, Another Kick at Concertina III
From: Stephen Fuld
Date: Fri, 20 Nov 2026 17:00
Date: Fri, 20 Nov 2026 17:00
28 lines
2697 bytes
2697 bytes
On 11/20/2026 8:05 AM, Anton Ertl wrote: > Tim Rentsch <tr.17687@z991.linuxsc.com> writes: >> But a PDP-10 architecture >> would make a great test environment for a C implementation based on >> 9-bit chars, 18-bit shorts, 36-bit ints, and 72-bit long/long**2. > > The PDP-10 is word-addressed, and the proper way to implement C would > be, like for all word-addressed machines: char=short=int=pointer=36b. "All" is incorrect. On the Unisys 2200 series C, Char is 9 bits (a "quarter word")and short is 18 bits (half word). Long is indeed 36 bits, and long long is 72 bits. > Given that long is 32 bits on 32-bit machines, it should be 36b on > 36b-machines, too. But of course, C, which was designed for > byte-addressed machines, is the wrong language for the PDP-10. BCPL > and B are designed for word-addressed machines. Regardless of your opinion about "wrongness", there is a currently supported C compiler. I am pretty sure it was developed for the obvious reason of wanting to support porting of existing software and to allow new software to be written in the language for developers who choose to do so. Neither B nor BCPL would meet those requirements. -- - Stephen Fuld (e-mail address disguised to prevent spam)
Technical Details
Message-ID:
<11dpuam$3c1ec$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<1793295922-5857@newsgrouper.org> <11c2si8$i9h4$1@dont-email.me> <2026Oct31.101836@mips.complang.tuwien.ac.at> <11c50qr$176ed$1@dont-email.me> <11c57o4$1iq3$1@gal.iecc.com> <86fqwwm4mk.fsf@linuxsc.com> <2026Nov20.170519@mips.complang.tuwien.ac.at>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Stephen Fuld <sfuld@alumni.cmu.edu.invalid> Newsgroups: comp.arch Subject: Re: packaging, Another Kick at Concertina III Date: Fri, 20 Nov 2026 09:00:05 -0800 Organization: A noiseless patient Spider Lines: 28 Message-ID: <11dpuam$3c1ec$1@dont-email.me> References: <1793295922-5857@newsgrouper.org> <11c2si8$i9h4$1@dont-email.me> <2026Oct31.101836@mips.complang.tuwien.ac.at> <11c50qr$176ed$1@dont-email.me> <11c57o4$1iq3$1@gal.iecc.com> <86fqwwm4mk.fsf@linuxsc.com> <2026Nov20.170519@mips.complang.tuwien.ac.at> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 20 Nov 2026 17:00:06 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3540428"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ZcyJqMbQc+z8VnItH55Jeip74C3TuJlk="; posting-host="348fe5330f803c99744fbf4390e3691e" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:ZoQWlkz9k918dDA1QSpXIVy5PXA= sha256:Hfe0RtJYhq0pvO8hJ0aoS0sFBCR90nuzwBomD8927aM= sha1:8pTaTML53ZnvtJO2OviYQ1jja9g= sha256:fZOrqL1RbeyqJJTf5SZ5om/2TI4jNVTPqJhJGk+QuDQ= Content-Language: en-US In-Reply-To: <2026Nov20.170519@mips.complang.tuwien.ac.at>