lua-users home
lua-l archive

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


> This is the 9th beta release of LuaJIT 2.0.0.

Thank you very much.

I have updated our Pipeline project with the latest version of LuaJIT.
This project does *not* use the provided Makefile nor the
msvcbuild.bat, but a QMake build environment. (Yes, I know you
recommend against using custom build systems...)

Still, the compilation works perfectly, except for the 64 bits
versions of ftell and fseek on Windows DDK.
On that platform, _MSC_VER is defined to 1500, but _fseeki64 and
_ftelli64 are *not* included in the target MSVCRT.DLL ! I suggest to
use the _CRTIMP_TYPEINFO macro to differentiate this case, like in Lua
5.2.0-rc9.
So let me suggest the following patch :

lib.io.c, lines 311 and 322 :
< #elif _MSC_VER >= 1400
> #elif _MSC_VER >= 1400 && !defined(_CRTIMP_TYPEINFO)

> MIPS Technologies, Inc. has sponsored the port of LuaJIT to the
> MIPS32 R1 architecture, tuned for the 34K and 74K cores. Work on
> this port is already in progress.

Great ! Olivetti printers use a 4Kc MIPS processor (not sure if this
is a R1 architecture).
Maybe we will be able to boost the performance of embedded Lua scripts.
This is not critical for us, but might open some interesting perspectives.