[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Re: [ANN] LuaJIT x64 port sponsorship program
- From: Jerome Vuarand <jerome.vuarand@...>
- Date: Wed, 9 Dec 2009 18:23:10 +0100
2009/12/9 Mike Pall <mikelu-0912@mike.de>:
> Jerome Vuarand wrote:
>> The point is that I was able (without being backed by "any C
>> standard") to store integer constants and values that do not fit a
>> double in the 64bits win32 ABI (e.g. INVALID_SOCKET, TVI_FIRST) in a
>> Lua light userdata. To be compatible with LuaJIT2 I'll have to put
>> these objects in a full userdata, and make sure my lua_toUINT_PTR
>> accept these.
>
> It's your choice if you want to (ab)use lightuserdata for that
> purpose. But now you have full knowledge that this is violating
> basic portability assumptions. So don't blame it on me or LuaJIT.
I wasn't blaming anyone, I just wanted to be sure I understood
properly that limitation (of C), and advertise it to other people
eventually having to face it.
- References:
- [ANN] LuaJIT x64 port sponsorship program, Mike Pall
- Re: [ANN] LuaJIT x64 port sponsorship program, Mike Pall
- Re: Re: [ANN] LuaJIT x64 port sponsorship program, Alexander Nasonov
- Re: Re: [ANN] LuaJIT x64 port sponsorship program, Mike Pall
- Re: Re: [ANN] LuaJIT x64 port sponsorship program, Peter Cawley
- Re: Re: [ANN] LuaJIT x64 port sponsorship program, Mike Pall
- Re: Re: [ANN] LuaJIT x64 port sponsorship program, Jerome Vuarand
- Re: Re: [ANN] LuaJIT x64 port sponsorship program, Mike Pall
- Re: Re: [ANN] LuaJIT x64 port sponsorship program, Jerome Vuarand
- Re: Re: [ANN] LuaJIT x64 port sponsorship program, Mike Pall