help-smalltalk
[Top][All Lists]
Advanced

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

Re: [Help-smalltalk] CStruct ABI and packed structs


From: Holger Hans Peter Freyther
Subject: Re: [Help-smalltalk] CStruct ABI and packed structs
Date: Fri, 15 Oct 2010 18:17:18 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc14 Lightning/1.0b2 Thunderbird/3.1.4

On 10/15/2010 06:14 PM, Paolo Bonzini wrote:
> On 10/15/2010 05:55 PM, Holger Hans Peter Freyther wrote:
>>
>> is there a place for CPackedStruct in the GST Kernel? Somewhere else?
> 
> There is; however, it's a bit more tricky than this, because access to
> unaligned members will trap on some architectures.

Sure, would you want to patch it in the 'value' implementations? or somewhere
in the C code? Would you want to introduce 'parallel' types that can handle
unaligned access? CArray -> CArrayUnaligned?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]