BlubBlab wrote:Okay I got the 64-bit version also running after some bug solving
3 small bug I came across in "int MemoryChunk_lua::getData(lua_State *L)",
you push float and double as integer
Yup. I originally had those correct, but then I went through and started changing up some of the pushintegers to pushunsigned, and then had to revert some of them, and I think this somehow got caught up in that. I've just corrected it and I'll be in my next commit, but I'm getting some really odd errors with the experimental code I'm working on.
in "int Bit32_lua::lShift(lua_State *L)" seems unfinished.
I think you've got some really old code. The
Git repository has much newer stuff. That whole class was stripped out a long time ago in favor of the module included in Lua 5.2.
Anyway lua 5.3 has bit operator in it's language design and also int64 by default.
Is there anything to consider through I'm 64-bit for the memory reading?
I'll probably upgrade it to 5.3 soon, but I think I should finish what I'm working on before adding any more variables to the mix. You might need to be careful with the memory read functions as they might still use 32-bit pointers in some locations. I haven't gotten to the point of compiling it as 64-bit, so I have done absolutely no testing to see if it would work properly.