I'm curious if anyone has any opinions on the best way to get existing
32-bit UNIX code ready for forthcoming 64-bit OSes and processors. What I've
been thinking about doing is requiring that code be changed to tolerate both
ILP32 and LP64 models. This seems to me to be both realistically doable as
well as sufficient.
It seems to me that 64-bit int's will likely be a loss overall.
Presumably, 64-bit processors will be able to manipulate 32-bit quantities
about as fast as they can manipulate 32-bit quantities and any possible loss
will be made up for by the benefits of smaller structures easing memory
bandwidth usage.
I don't really want to start a religious war. I'm just looking for
practical suggestions about how to draft coding standards so that code will
work with minimal pain on future platforms.
DS