64bit - 64-bit Performance Advantages -


The source of performance benefits of 64-bit applications are higher than 32-bit applications? I am assuming that there is a performance advantage because programs such as WinRAR advertise it.

In addition, can we easily get these performance benefits by switching to the 64-bit compiler, or to become the code that is needed?

Both answers related to the unmanaged and managed code are welcome.

To take advantage of the latest CPU's 64 bit architecture, you have to:

< Ul>
  • Use 64-bit CPU and OS
  • Use 64 bit APIs specifically for 64 bits - CPU registers (commonly written in the Ambabeler) to take advantage of additional registers To work with), the implementation has to go down from all the basic codes.
  • Developing an application will actually benefit from additional registrars - WinRAR is an application that will take full advantage of additional registers as it contains a lot of compilation with complex algorithms. If you instead write an application with a very simple algorithm, then it will not require additional register address space and it will not work more on 64 bits
  • Also keep in mind that when you Even if you use the CPU register do not use the full address space for any value, it will still take up to more space (= 64 bit). So a small application to get the code optimized in 64 bit L Targeting will not work anymore .. This app will be taken if it will be developed under 32 bit and it can also be slow compared to applications that use programming algorithms in 64 bit twice compared to RAM. It is understandable or needs to allocate heavy pieces of memory (4 GB is the limit of 32bit APPS).

  • Comments

    Popular posts from this blog

    c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

    Calling GetGUIThreadInfo from Outlook VBA -

    Obfuscating Python code? -