none
If UInt64 data type is used in application, does this compiled application can be executed on 32-bit Windows system? RRS feed

  • Question

  • Dear All,


    If UInt64 data type is used in application, does this compiled application can be executed on 32-bit Windows system?

    Will there be any potential issue when application with UInt64 data type running on 32-bit Windows system?

    Thanks and regards,

    E-John

    Saturday, May 19, 2018 8:45 AM

All replies

  • Hello,

     The 32/64 CPU does not affect operations on 64 bit values. The 32/64 bit

    CPU is more about the hardware limits of the OS. There are other fundamental

    differences associated with CPU and OS operations. A 64 bit CPU supports 32/64

    bit OS. But 32 bit CPU only supports 32 bit OS.  When 32 bit CPUs operate on

    64 bit objects, like in the ALU. The 32 bit CPU will use more cycles because the

    internal registers can not support 64 bit operations.  This is also true for 64 bit

    CPUs on 32 bit OS, meaning the CPU isnt utilizing CPU operations efficiently.

     

     Hope this helps :)

    Saturday, May 19, 2018 9:25 PM
  • Note the warning about thread safety at UInt64 Structure

    "Assigning an instance of this type is not thread safe on all hardware platforms because the binary representation of that instance might be too large to assign in a single atomic operation."

    Saturday, May 19, 2018 9:59 PM