Den 2011-04-11 10:44 skrev Alex Peshkoff såhär:
>   On 04/11/11 11:35, Kjell Rilbe wrote:
>> 2. If I'm not mistaken most languages support a "packed" directive that
>> tells the compiler to not align/pad the struct. Delphi does. But I doubt
>> it's possible to do the other way around: tell a compiler to pad/align
>> to N bytes. So, perhaps the most compatible way is to use packed structs
>> everywhere.
>
> That's impossible at least for RISC machines.

Impossible? Or just a lot of overhead to pack/unpack it each time the 
data is to be passed across an external boundary?

Kjell
-- 
--------------------------------------
Kjell Rilbe
DataDIA AB
E-post: kj...@datadia.se
Telefon: 08-761 06 55
Mobil: 0733-44 24 64


------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to