[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: number of bits of int type
- From: Leo Razoumov <slonik.az@...>
- Date: Sun, 3 Oct 2010 00:44:05 -0400
On Sat, Oct 2, 2010 at 21:55, Louis Mamakos <firstname.lastname@example.org> wrote:
> On Oct 2, 2010, at 10:58 AM, Leo Razoumov wrote:
>> On 2010-09-28, Nilson <email@example.com> wrote:
>>> Hi everyone,
>>> Someone knows if Lua can be or was used in a platform where the ***
>>> int type *** has less than 16 bits or is not a 8 bits multiple?
>> Can you, please, give an example of a currently produced platform
>> with the int type being not a multiple of 8 bits.
> Unisys 2200 series mainframe computers. 36 bit words, 1's complement arithmetic, word-addressable architecture. Multi-processor and SMP since the early 1970's in the earlier versions of this architecture. You might argue that Lua isn't likely to be found on this platform, though it supports an ANSI C complier, Java, etc.
Thanks for the pointer but UNISYS machines were disconnected about a
decade ago and UNIVACs died even earlier. As of now I am not aware of
any architecture one can actually buy that uses wordsizes not a
multiple of a byte (8 bits).
I personally prefer data type sizes of 6, 12, 24, 48, 96 bits but
8,16,32,64,128 won the battle.