Home > Articles > Programming > C/C++

  • Print
  • + Share This
Like this article? We recommend

That Extra 64-Bit Memory and Legacy Code

The extra memory capacity of a 64-bit architecture allows for very large data structures. This is great! Code can now access vast memory structures and potentially achieve significant speed improvements. However, legacy code may have been written with certain assumptions in mind, specifically in the data type used to store array indices. A simple fact with 64-bit code is that the legacy code data type may now be too small for the extended range. Let's look at an example to get a feel for the new and preferred data format for 64-bit array access.

  • + Share This
  • 🔖 Save To Your Account