lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sat, Oct 2, 2010 at 21:55, Louis Mamakos <louie@transsys.com> wrote:
>
> On Oct 2, 2010, at 10:58 AM, Leo Razoumov wrote:
>
>> On 2010-09-28, Nilson <nilson.brazil@gmail.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.
>>
>> --Leo--
>>
>
> 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.
>
> http://en.wikipedia.org/wiki/UNIVAC_1100/2200_series
>
>
> louie
>

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.

--Leo--