SmallInteger and machine word size

K. K. Subramaniam subbukk at gmail.com
Thu Feb 21 05:37:58 UTC 2008


On Tuesday 19 February 2008 8:12:07 pm Igor Stasenko wrote:
> This is true, but not helps to write any code not related to VMMaker.
> It's a generic problem:
>  suppose you want to pass ANY integer value to binary stream.
why not use binary-coded decimal (BCD)? BCD works fine across platforms for 
any size of integers. If size is an issue, you can always compress the whole 
stream.

[1] http://en.wikipedia.org/wiki/Binary-coded_decimal

Subbu



More information about the Squeak-dev mailing list