OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

kmip message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [kmip] Feedback on binary alignment proposal



On Apr 28, 2009, at 10:02 AM, Landon Curt Noll wrote:

> Matt's idea is a reasonable compromise: to keep the tag field  
> unchanged and increase the type field size to 4 bytes.
>
> chongo () /\oo/\
>

I agree and will generalize. We just all agree that things come in 32- 
bit quantities.

The only possible revision to this would be to do some 64-bit  
alignment. I mention this because there are/were machines (Alpha being  
one) that really liked 64-bit alignment.

I am *not* suggesting making type/tag etc. be 64-bits. On such a  
machine, a pair of 32-bit quantities it fine because fetch-then-split  
is fast. The difficulty would be in an unaligned fetch or store. What  
you'd want to do would be to pad strings, bignums, etc. out to 64 bits.

I bring it up because if we do that, now is the time.

	Jon

-- 
Jon Callas
CTO, CSO
PGP Corporation         Tel: +1 (650) 319-9016
200 Jefferson Drive     Fax: +1 (650) 319-9001
Menlo Park, CA 94025    PGP: ed15 5bdf cd41 adfc 00f3
USA                          28b6 52bf 5a46 bc98 e63d






[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]