title: Is int ever needed on x64?
body: <p>C code targeting x64, as has been previously discussed, should always use size_t instead of int for things like counts and array indexes.</p>
  
  <p>Given that, it would arguably be simpler and less error prone to just standardize on size_t (typedef'd to something shorter) instead of int as the usual integer type across the entire code base.</p>
  
  <p>Is there anything I'm missing? Assuming you don't need signed integers, and you're not storing large arrays of small integers (where making them 32 bits instead of 64 bits could save memory), is there any reason to use int in preference to size_t?</p>