Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!aioe.org!.POSTED!not-for-mail From: "Rod Pemberton" Newsgroups: comp.lang.misc Subject: Re: 100 Things Date: Sat, 03 May 2014 02:37:54 -0400 Organization: Aioe.org NNTP Server Lines: 42 Message-ID: References: <8muqscxvu33i$.22498hadddgj.dlg@40tude.net> <20140501112711.942@kylheku.com> <80t8m95178c0kkmshpumeac4vj7j1af5m8@4ax.com> NNTP-Posting-Host: CNsg4fVcCsvs3UaOgZtQCw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/12.16 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.misc:2150 On Sat, 03 May 2014 01:29:10 -0400, George Neuner wrote: > On Fri, 02 May 2014 08:30:49 +1200, Ian Collins > wrote: >> Rod Pemberton wrote: >>> On Thu, 01 May 2014 14:30:17 -0400, Kaz Kylheku >>> wrote: >>>> On 2014-05-01, BartC wrote: >>>>> "Dmitry A. Kazakov" wrote in message >>>>> news:yryqqrizlv6f$.brqhfwfl79vg.dlg@40tude.net... >>>>>> On Thu, 1 May 2014 15:12:34 +0100, BartC wrote: >>>>>>> That machines generally work in powers-of-two bitwidths is >>>>>>> well-known. >>>>>> >>>>>> And those that don't, you program in another language... Right? >>>>> >>>>> Yes, exactly. C# supports 8, 16, 32 and (I assume) 64-bit data types, >>>>> and so does Java. >>>> >>>> These languages support *only* these types. >>> >>> By "these languages", I'm assuming you mean C/C++ and derivatives. >> >> Your understanding is arse about face. > > Rod is correct that C defines 'byte' as a minimal addressable unit and > defines characters as data which fits into a byte. Oh, I thought Ian was saying I made the wrong assumption on which languages were being discussed. I thought C, C++, and variations were under discussion. So, I was going to go back and check what languages were being discussed, but didn't. Before that, I thought Kaz was saying C didn't support sizes other than 8, 16, 32, 64, which it can. Standardized microprocessor architecture is what lends itself to 8-bits and multiples. Central processing units (cpu), used on mainframes and such, had widely varying architectures, some of which had C on them. Rod Pemberton