[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Bytecode
- From: HyperHacker <hyperhacker@...>
- Date: Tue, 6 Dec 2011 20:51:57 -0700
On Tue, Dec 6, 2011 at 10:51, Dimiter 'malkia' Stanev <firstname.lastname@example.org> wrote:
> On 12/6/2011 4:42 AM, steve donovan wrote:
>> On Tue, Dec 6, 2011 at 2:37 PM, Dirk Laurie<email@example.com> wrote:
>>> Lua bytecode is portable (a) across the same major.minor release (b)
>>> and provided that the compiling machine and the target machine have
>>> the same number of bytes per integer?
>> You forgot byte order. Not only big vs little endian! I've worked
>> with ARMs where the doubles were _mixed_ endian...
> LOL! Middle endian... A coworker last year brought me some motion capture
> data, that we had to process with Python and feed to MotionBuilder - after
> some digging (binary data) I found out... it was middle endian single
> floats. Hopefully 0x3F000000 is easy one to recognize, and knowing some
> alignment requirments got us there.
...but what order are the zeros in? :-)
Sent from my toaster.