lua-users home
lua-l archive

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

Cosmin Apreutesei <> writes:
> Right, so now we have 3 platforms (5.1, 5.2 and lj2) with notable
> differences between them: can't use setfenv in 5.2, can't use _ENV
> in 5.1 and lj2, can't use 64bit numbers in 5.1 and 5.2, can't
> compare pointers to nil with luaffi etc.etc.
> If one writes a binding nowadays it's easy to get locked in. I'm
> currently locked in big to lj2 :)

Writing code that runs under 5.1 / 5.2 / non-FFI-LuaJIT is generally
very easy, because differences are quite minor.

Unless you use FFI.  Then you're f*cked...

That's why I'm not gonna touch FFI with a 10-foot pole, neat idea may
it be.