Most active commenters

    ←back to thread

    182 points Twirrim | 11 comments | | HN request time: 0.216s | source | bottom
    1. pjdesno ◴[] No.41874875[source]
    During an internship in 1986 I wrote C code for a machine with 10-bit bytes, the BBN C/70. It was a horrible experience, and the existence of the machine in the first place was due to a cosmic accident of the negative kind.
    replies(6): >>41874970 #>>41875234 #>>41875248 #>>41875733 #>>41875834 #>>41876076 #
    2. csours ◴[] No.41874970[source]
    Somehow this machine found its way onto The Heart of Gold in a highly improbable chain of events.
    3. WalterBright ◴[] No.41875234[source]
    I programmed the Intel Intellivision cpu which had a 10 bit "decl". A wacky machine. It wasn't powerful enough for C.
    4. Taniwha ◴[] No.41875248[source]
    I've worked on a machine with 9-bit bytes (and 81-bit instructions) and others with 6-bit ones - nether has a C compiler
    replies(2): >>41875661 #>>41875983 #
    5. asveikau ◴[] No.41875661[source]
    I think the pdp-10 could have 9 bit bytes, depending on decisions you made in the compiler. I notice it's hard to Google information about this though. People say lots of confusing, conflicting things. When I google pdp-10 byte size it says a c++ compiler chose to represent char as 36 bits.
    6. aldanor ◴[] No.41875733[source]
    10-bit arithmetics are actually not uncommon on fpgas these days and are used in production in relatively modern applications.

    10-bit C, however, ..........

    replies(1): >>41875796 #
    7. eulgro ◴[] No.41875796[source]
    How so? Arithmetic on FPGA usually use the minimum size that works, because any size over that will use more resources than needed.

    9-bit bytes are pretty common in block RAM though, with the extra bit being used for either for ECC or user storage.

    8. kazinator ◴[] No.41875834[source]
    C itself was developed on machines that had 18 bit ints.
    9. corysama ◴[] No.41875983[source]
    The Nintendo64 had 9-bit RAM. But, C viewed it as 8 bit. The 9th bit was only there for the RSP (GPU).
    10. Isamu ◴[] No.41876076[source]
    I wrote code on a DECSYSTEM-20, the C compiler was not officially supported. It had a 36-bit word and a 7-bit byte. Yep, when you packed bytes into a word there were bits left over.

    And I was tasked with reading a tape with binary data in 8-bit format. Hilarity ensued.

    replies(1): >>41876112 #
    11. bee_rider ◴[] No.41876112[source]
    Hah. Why did they do that?