News for hackers. Stuff that matters.
Re:Portable Code: How To Check If A Machine Is 32 Bit Or 64 Bit by jwilliams on Wednesday March 11, 2009 @01:56AM (#511353)
Not really sure how useful this is... even if it was practical to adapt datatypes at runtime, it would still be extremely painful. Surely just using portable types is vastly easier and straightforward.

(or am I missing something?)

Re:Portable Code: How To Check If A Machine Is 32 Bit Or 64 Bit by shantanugoel on Wednesday March 11, 2009 @02:24AM (#511380)
Yes, using portable data types is much easier. But I thought about this when we had to make our code work with some legacy code (which we couldn't change) and the outputs were in non-portable data types.