Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Developing for x86 and x64 os

Developing for x86 and x64 os

Scheduled Pinned Locked Moved General and Desktop
6 Posts 4 Posters 2.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ahdbk
    wrote on last edited by
    #1

    hi ,

    what is the main fact that shoud i consider to devolope a cross application whish work in x86 and x64 opérating system (pointer allocation , interger allocation size ... )

    thanks

    Best Regards
    Ahd bk

    Visit www.jci.cc to learn how young people around the world are working to create positive change!

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      What do you mean?

      You need to judge yourself, whether you need x64 extensions or not. x64 means things are bigger (more RAM), but allow some things that are cumbersome on 32 bit.

      32 bit app will work on 64 bit OS, the reverse will not.

      (Z(:^

      1 Reply Last reply
      0
      • A Offline
        A Offline
        ahdbk
        wrote on last edited by
        #3

        Thanks :-)

        [quote author="sierdzio" date="1363166623"]What do you mean? You need to judge yourself, whether you need x64 extensions or not. x64 means things are bigger (more RAM), but allow some things that are cumbersome on 32 bit. 32 bit app will work on 64 bit OS, the reverse will not.[/quote]

        Best Regards
        Ahd bk

        Visit www.jci.cc to learn how young people around the world are working to create positive change!

        1 Reply Last reply
        0
        • P Offline
          P Offline
          paulf
          wrote on last edited by
          #4

          Hi

          For a start, not all 64bit platforms are equal. On most platforms the model is LP64, i.e. longs and pointers are 64bit. On Windows the model is LLP64 (or just P64) - pointers are 64 bits but longs are 32bit. long longs are 64bit on just about all platforms.

          Not all 32bit platforms are incapable of running 64bit executables. Older versions of Mac OS X default boot to 32bit but can run 64bit executables (AFAIK 10.8 now only boots to 64bit).

          In favour of 64bit: larger address space, more registers available, default floating point is SSE rather than x87.

          In favour of 32bit: smaller machine code so better cache hit rate.

          A+
          Paul

          1 Reply Last reply
          0
          • A Offline
            A Offline
            ahdbk
            wrote on last edited by
            #5

            Thanks pau very interesting informations

            [quote author="paulf" date="1363188444"]Hi For a start, not all 64bit platforms are equal. On most platforms the model is LP64, i.e. longs and pointers are 64bit. On Windows the model is LLP64 (or just P64) - pointers are 64 bits but longs are 32bit. long longs are 64bit on just about all platforms. Not all 32bit platforms are incapable of running 64bit executables. Older versions of Mac OS X default boot to 32bit but can run 64bit executables (AFAIK 10.8 now only boots to 64bit). In favour of 64bit: larger address space, more registers available, default floating point is SSE rather than x87. In favour of 32bit: smaller machine code so better cache hit rate. A+ Paul [/quote]

            Best Regards
            Ahd bk

            Visit www.jci.cc to learn how young people around the world are working to create positive change!

            1 Reply Last reply
            0
            • Chris KawaC Offline
              Chris KawaC Offline
              Chris Kawa
              Lifetime Qt Champion
              wrote on last edited by
              #6

              A sometimes overlooked problem I had encountered is when an app stores it's data in a binary file. The reader/writer was using things like sizeof(long) to read/write chunks of data which obviously led to horrible horrible bugs when the data was shared between different versions.

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved