lua-users home
lua-l archive

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


On Wed, Mar 26, 2014 at 3:20 PM, Hisham <h@hisham.hm> wrote:
> On 26 March 2014 18:59, Coda Highland <chighland@gmail.com> wrote:
>> On Wed, Mar 26, 2014 at 2:45 PM, Tim Hill <drtimhill@gmail.com> wrote:
>>> The code generated has only one conditional branch … significant on a non super-scalar CPU.
>>>
>>> Mostly of course these are techniques used in assembly language “poking through” into C.
>>
>> If we broaden the discussion to the greater Lua ecosystem as opposed
>> to limiting our scope to PUC-Rio, this can be relevant even in a
>> scripting language. An implementation such as LuaJIT (which I wouldn't
>> be surprised to see pick up the new bitops even though it hasn't
>> picked up many 5.2-isms)
>
> Which 5.2-isms it did not pick up, apart from _ENV? (I mean of course
> in the language itself; I understand the 5.2 C API was not picked up
> at all.) As far as I remember, LuaJIT supports practically all of 5.2.
>
> http://luajit.org/extensions.html#lua52

"Apart from _ENV" isn't an insignificant divergence from the specification.

/s/ Adam