windows - Whatis the difference between a 32bit program on a 32bit OS and 32bit program on a 64bit OS? -
in computer running 32bit os on 64bit processor. application installed 32bit , computer having 2gb ram. if install 64bit os while keeping same 32bit applications, improve performance?? or there disadvantage?
talking 32-bit , 64-bit software means such software developed in order take advantage of cpus 32-bit or 64-bit registers size.
registers tiny portions of memory (not ram) used directly processing unit temporarily save operations results (kind of variables), e.g. when summing 2 numbers alu reads 2 registers, performs operation , writes answer in register. bigger registers, bigger values can handle. 32-bit processor has registers can handle values 32 bits of size, 64-bit processors can deal numbers of double size 32-bit-based processors, results in 2^32 more values.
a 32-bit os os works performing cpu operations on machine 32-bit cpu registers; 64-bit os works fine on 64-bit processors, not on 32-bit ones because registers small such os.
as program runs on os, 32-bit apps run (well, times do) on 64-bit os albeit use half of cpu register need, because program designed not deal values bigger 2^32 bit: means 32-bit app running on 64-bit os run without getting particular performance improvement. well, 64-bit app never run on 32-bit os because needs more resources available.
hope clear , correct enough, studied processor architectures years ago...
Comments
Post a Comment