Boost logo

Boost Users :

Subject: Re: [Boost-users] How to find: best integer type for processor
From: Mike Marchywka (marchywka_at_[hidden])
Date: 2008-10-30 12:28:33

[ this latest and greatest hotmail refuses to put ">" on earlier text
and seems to resent the idea I would decline to send html. LOL ]

There is no requirement that the address space cardinality
as reflected in the size of a pointer be related to relevant registers or
bus size or anything having to do with
your application needs. Sure, normally registers are sized to manipulate
addresses and usually this would be a reasonable guess on register size but
may not be related to various bus sizes. More important things, like cache size,
would be nice to learn about at runtime.
As a person who likes to
write lower level code and gets annoyed manipulating char's knowing
that registers and buses are wider, I have a lot of sympathy, but
you first need to size your structures for your needs.

What did the OP mean by "best?"

Date: Thu, 30 Oct 2008 14:12:59 -0200
From: rodrigo.madera_at_[hidden]
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] How to find: best integer type for processor

typedef boost::int_t::fast fastint_t;

Nice, but why isn't this part of the standard distribution as a "word_t" or something?
Just curious why it's not there already.

Stay up to date on your PC, the Web, and your mobile phone with Windows Live.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at