🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #834

Re: packaging, Another Kick at Concertina III

#834
From: Scott Lurndal
Date: Fri, 20 Nov 2026 18:23
41 lines
2966 bytes
anton@mips.complang.tuwien.ac.at (Anton Ertl) writes:
>Stephen Fuld <sfuld@alumni.cmu.edu.invalid> writes:
>>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.
>
>If the Unisys 2200 is word-addressed, the proper way is
>char=short=int=pointer, too.

Why?  As Stephen noted, the actual C compiler for the 2200
systems does not follow your notion of "proper".

Likewise, the C compiler for the other remaining Unisys
mainframe descendent (B6500 -> A-series -> Clearpath Libra) doesn't
set sizeof(char)==sizeof(short)==sizeof(int)==sizeof(pointer).

Pointers are actually tagged capabilities on that 48-bit word
architecture (although sizeof(char) == 8 as one can fit
six eight-bit bytes in a word).


>And similarly, C is a bad fit for word-addressed machines.  On the
>Cray-1 they dealt with it by making char=short=int=long=pointer=64b,
>and on the Unisys 2200 they dealt with it by making a C more similar
>to one on a byte-addressed machine, which may have caused less
>software breakage than the Cray-1 approach, but probably still quite a
>lot, and in addition it cost performance.

How did it cost performance?  Both clearpath lines (Sperry 2200 and
Burroughs B6500 descendants) support direct byte access within words in the
instruction set if for no other reason to support COBOL PIC clause.
Technical Details
Message-ID: <Le0MS.132605$Lt64.61367@fx41.iad>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx41.iad.POSTED!not-for-mail
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> <11dpuam$3c1ec$1@dont-email.me> <2026Nov20.185041@mips.complang.tuwien.ac.at>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx41.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: scott@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: packaging, Another Kick at Concertina III
Newsgroups: comp.arch
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> <11dpuam$3c1ec$1@dont-email.me> <2026Nov20.185041@mips.complang.tuwien.ac.at>
Lines: 41
Message-ID: <Le0MS.132605$Lt64.61367@fx41.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Fri, 20 Nov 2026 18:23:39 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Fri, 20 Nov 2026 18:23:39 GMT
X-Received-Bytes: 2756