I mainly worked on 32-bit embedded systems, where, as a rule, it is faster to use native 32-bit types (int, float) than 16-bit equivalents. The slowdown came from processors that expanded any number of 16 bits to 32 bits before performing operations on it.
Now I switched to a PC and 64-bit OS. My question is: do 32-bit types cause any slowdown on 64-bit machines?
For example, if I create MyApp.exe as a 32-bit application, will it work slower on a 64-bit OS or faster?
I understand that there are many factors that affect application performance, and I deliberately exclude these factors from the question (I / O speed, faster memory, etc.).
source
share