none
64bit platform RRS feed

  • Question

  • Hi

    I have an c++ application compiled to win32 bit platform.

    I think to rebuild it into win64 bit platform.

    1. Can you please give me the prons and cons ?

    2. Do you know about any compilation errors or problem later in run time, which can occur due to this recompile ?

    3. I f I run this application in windows 64 bit, will it run faster ?

    Wednesday, October 13, 2010 5:08 AM

Answers

All replies

  • I think you probably want a C++ forum since it's a low level language and there will be language specific aspects to consider which go way beyond a high level architecture view of things.  This being an architecture forum I would imagine there are relatively few C++ experts reading.

     

    Wednesday, October 13, 2010 7:49 AM
  • hi,
    good question! as you said you have some application(irrespective of c++, c#, vb.net etc) for 32-bit platform and now want it to support 64 bit platform then you need to rebuild it.
    actually there is facility in visual studio for building binaries any platform through one single solution/project [right click on ur solution: goto properties >> Configuration >> pllatform >> ANY CPU] but i would suggest build individual binaries for each platform.
    * Now answering your questions:
    1. Can you please give me the prons and cons ?
    since architeure for these platform are different (right from processor design to frameworks) hence its better we create platform specific binaries.
    even there is WOW to make this work (work around for running 32 bit application on 64 bit). but it comes with its own set of limitations.
    2. Do you know about any compilation errors or problem later in run time, which can occur due to this recompile ?
    since the internal memory addressing architecture itself is different for 32 and 64 bit hence its quite obvious that many things can be affected
    3. If I run this application in windows 64 bit, will it run faster ?
    Its no-where written that 64 bit systems will be far faster. but surely there will some perfomance gain in case of 64 bit. this architecture improves memory addressing and data carrie-age capability of the processor and so as for the softwares.
    Also it supports latest industry trends and inventions (parallel programming etc) far better than 32 bit
    http://windows.microsoft.com/en-IN/windows-vista/32-bit-and-64-bit-Windows-frequently-asked-questions#
    http://en.wikipedia.org/wiki/64-bit
    Manish Patil http://patilmanishrao.wordpress.com Posting is provided AS IS with no warranties, and confers no rights.

    Manish Patil's Blog

    ↑ Grab this Headline Animator

    • Edited by Manishrao Patil Wednesday, October 13, 2010 12:37 PM bold 'rebuild'
    • Proposed as answer by Manishrao Patil Thursday, October 14, 2010 5:11 AM
    Wednesday, October 13, 2010 12:36 PM
  • Thank's

     

    for the first answer,

    Can you give me the limitation of WOW ?

     

    What will give me better results (good performance)

    run a win32 application  on windows 64 bit

    or

    run a win64 application on windows 64 bit ?

     

     

    Wednesday, October 13, 2010 5:44 PM
  • I would love to receive your reply
    Thanks in advance 
    Amit

    Thursday, October 14, 2010 5:09 AM
  • hi amit,
    as per my view running a win64 application on windows 64bit is better option to go with. The reason is simple: future benifts will be more and lesser overheads as now days computing industry is moving from 32 bit to 64 bit.
    Here are few more better links to understand the same:
    http://msdn.microsoft.com/en-us/library/aa384249(VS.85).aspx http://msdn.microsoft.com/en-us/library/aa384219(VS.85).aspx
    Manish Patil http://patilmanishrao.wordpress.com Posting is provided AS IS with no warranties, and confers no rights.

    Manish Patil's Blog

    ↑ Grab this Headline Animator

    • Marked as answer by amit1983 Thursday, October 14, 2010 8:25 PM
    Thursday, October 14, 2010 5:11 AM