lua-users home
lua-l archive

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


There is no long long in C89 either.

Best regards,
Mikhail Gusarov.


On Sat, Sep 7, 2013 at 3:58 PM, Rob Kendrick <rjek@rjek.com> wrote:
> On Sat, Sep 07, 2013 at 09:38:59AM -0400, Rena wrote:
>> On Sat, Sep 7, 2013 at 9:17 AM, Choonster TheMage
>> <choonster.2010@gmail.com>wrote:
>> >
>> > Lua 5.3.0-work1 uses long long as it default integer type:
>> > https://github.com/lua/lua/blob/master/src/luaconf.h#L387-L389
>> >
>> >
>> I wonder why not uint64_t?
>
> Lua is written in C89.  Isn't this a C99ism?
>
> (It's sad that Lua's written in C89.  But this isn't a comment on the
> authors, but the state of the world's compilers.  There are features in
> C11 I'd love to use, but basically only people using clang could ever
> build it.)
>
> B.
>