lua-users home
lua-l archive

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

Hi All,

I didn't realise that endianess was an issue with lua.  Actually, I
thought it to be quite the opposite - that it did not matter.  We're
anticipating multiple client types communicating with a host and that
host delivering scripting in real time to the clients.  

It sounds like we've got to have multiple compiled versions of code at
the host for each endian type then ... ?

We certainly want to pre-compile at the host, the clients are only low
resource units and we want to avoid client-side compilation.


Greg McCreath
Chief Technical Officer
TAFMO Limited
ABN:  94 109 766 592

Level 8, 342 Flinders Street
Victoria, 3000
Ph : +61 (0) 3 9018 6824
Fax : +61 (0) 3 9018 6899
Mobile : +61 (0) 401 988 957

-----Original Message-----
From: Luiz Henrique de Figueiredo [] 
Sent: Saturday, 10 June 2006 11:50 PM
To: Lua list
Subject: Re: Lua bytecodes and endian-ness

> Am I correct that Lua binary files are not endian-independent

Yes. See

> so, what's the best way to deal with this?



This email and any files transmitted with it may be confidential and are intended solely for the use of the individual or entity to whom they are addressed. This email may contain personal information of individuals, and be subject to Commonwealth and/or State privacy laws in Australia. This email is also subject to copyright. If you are not the intended recipient, you must not read, print, store, copy, forward or use this email for any reason, in accordance with privacy and copyright laws. If you have received this email in error, please notify the sender by return email, and delete this email from your inbox.