Re: [ANN] Lua 5.3.0 (work1) now available
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: [ANN] Lua 5.3.0 (work1) now available
- From: Lorenzo Donati <lorenzodonatibz@...>
- Date: 2013年7月09日 19:57:25 +0200
On 09/07/2013 19.01, Roberto Ierusalimschy wrote:
We are considering adding bitwise operations to Lua. After all, the main
reason Lua did not have them was that they were awkward as primitive
operations over floating-point numbers. With integer numbers, this
problem is gone.
Do you mean a full set of operators like in C with direct support from
the VM, or just a generic width-independent bit library using usual
functional syntax?
If one would ensure portability of Lua code a
mechanism should be provided for a Lua script to query the
interpreter about the current int width, [...]
try this:
print(debug.numbits'i', debug.numbits'f')
sweet!
Are you considering adding access to other compile-time constants
through the debug library? I'm thinking of max stack size or max
recursion depth (and similar), that may be useful at run-time to avoid
triggering an error by incurring in an error by exceeding them.
-- Roberto
-- Lorenzo
--
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
- References:
- 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, Lorenzo Donati
- Re: [ANN] Lua 5.3.0 (work1) now available, Roberto Ierusalimschy