[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.3.0 (work1) now available
- From: Todd Coram <todd@...>
- Date: Tue, 09 Jul 2013 19:47:31 -0400
On Tue, Jul 9, 2013, at 06:44 PM, William Ahern wrote:
> On Tue, Jul 09, 2013 at 12:08:04PM -0400, Todd Coram wrote:
> <snip>
> > I too am very happy to see what 5.3 is doing with ints. When I do data
> > encoding/decoding protocol work (e.g. Google Protocol Buffers, BSON,
> > etc), it would be very nice ?to properly handle 64 bit integers in pure
> > Lua. This will go a long way to making Lua a first class player in data
> > protocol manipulation!
>
> One quibble: most protocols sanely use unsigned integers. A signed 64-bit
> integer is 1 bit too short, and generally speaking you're not much better
> off than with floating point doubles and the bit32 library.
That is true. "First class" player may be a bit of an overstatement.
That being said, it does get Lua "into the game". I can live with
+-9,223,372,036,854,775,807 as a maximum (for now) ;)
/todd
- References:
- [ANN] Lua 5.3.0 (work1) now available, Luiz Henrique de Figueiredo
- Re: [ANN] Lua 5.3.0 (work1) now available, Miles Bader
- Re: [ANN] Lua 5.3.0 (work1) now available, Luiz Henrique de Figueiredo
- Re: [ANN] Lua 5.3.0 (work1) now available, Enrico Colombini
- Re: [ANN] Lua 5.3.0 (work1) now available, Roberto Ierusalimschy
- Re: [ANN] Lua 5.3.0 (work1) now available, Lorenzo Donati
- Re: [ANN] Lua 5.3.0 (work1) now available, Roberto Ierusalimschy
- Re: [ANN] Lua 5.3.0 (work1) now available, Lorenzo Donati
- Re: [ANN] Lua 5.3.0 (work1) now available, Joseph Manning
- Re: [ANN] Lua 5.3.0 (work1) now available, Todd Coram
- Re: [ANN] Lua 5.3.0 (work1) now available, William Ahern