Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. 64-bit apps

64-bit apps

Scheduled Pinned Locked Moved The Lounge
csharpvisual-studiotoolsquestionannouncement
30 Posts 15 Posters 0 Views 1 Watching
  • 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.
  • J Jorgen Andersson

    Running more programs.

    Wrong is evil and must be defeated. - Jeff Ello[^]

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #8

    Heck even debugging a single program that is intended to run on a 64 bit OS because it needs the extra memory. I failed to see his logic. The only people that should still be on 32 bit are those that refer to the internet as "That email thingy".

    Computers have been intelligent for a long time now. It just so happens that the program writers are about as effective as a room full of monkeys trying to crank out a copy of Hamlet. The interesting thing about software is it can not reproduce, until it can.

    T enhzflepE 2 Replies Last reply
    0
    • M Maximilien

      I did not say that; NOT ALL applications gain from being in 64bit. Other than having access to more memory, there is no real gain in performance. In the examples (irfanview, editplus, VS), there is no advantages to convert to 64 bits; they all are working on relatively small dataset. We are working on an engineering software, we work with 3D models and large datasets; and in the last couple of years, our clients were working with large datasets and we had no choice of switching to 64bit (with a lot of pain,sweat and swear due to very old legacy code).

      I'd rather be phishing!

      E Offline
      E Offline
      ed welch
      wrote on last edited by
      #9

      I'm not sure that's true. If you compile with x64 your program has more registers available. Also according to this: http://msdn.microsoft.com/en-us/library/windows/desktop/aa384219%28v=vs.85%29.aspx[^] "WOW64 adds significant overhead if two or more instances of the same 32-bit application are running concurrently"

      L 1 Reply Last reply
      0
      • L Lost User

        Heck even debugging a single program that is intended to run on a 64 bit OS because it needs the extra memory. I failed to see his logic. The only people that should still be on 32 bit are those that refer to the internet as "That email thingy".

        Computers have been intelligent for a long time now. It just so happens that the program writers are about as effective as a room full of monkeys trying to crank out a copy of Hamlet. The interesting thing about software is it can not reproduce, until it can.

        T Offline
        T Offline
        TheGreatAndPowerfulOz
        wrote on last edited by
        #10

        https://www.youtube.com/watch?v=G2y8Sx4B2Sk[^] ;P

        If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
        You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun
        Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein

        L 1 Reply Last reply
        0
        • T TheGreatAndPowerfulOz

          https://www.youtube.com/watch?v=G2y8Sx4B2Sk[^] ;P

          If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
          You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun
          Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #11

          :confused:

          Computers have been intelligent for a long time now. It just so happens that the program writers are about as effective as a room full of monkeys trying to crank out a copy of Hamlet. The interesting thing about software is it can not reproduce, until it can.

          1 Reply Last reply
          0
          • E ed welch

            Would I be correct in saying that most Windows apps have no 64-bit version? I know this is true for Visual Studio, and it also seems to be the case for tools like editplus and irfanview.

            S Offline
            S Offline
            Super Lloyd
            wrote on last edited by
            #12

            Most .NET apps are 64 bits on 64 bits OS! :laugh:

            My programming get away... The Blog... DirectX for WinRT/C# since 2013! Taking over the world since 1371!

            D Z 2 Replies Last reply
            0
            • M Maximilien

              I'd say you are correct. In the case of the examples you give, there are no reason to switch to 64 bits.

              I'd rather be phishing!

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #13

              Benefits come from more than application itself. 64 bit virtual memory allows for OS to minimise swapping of memory but wow64 introduces a new overhead. Avoiding wow64 is a performance enhancer. http://www.ni.com/white-paper/5709/en/[^]

              Peter Wasser "The whole problem with the world is that fools and fanatics are always so certain of themselves, and wiser people so full of doubts." - Bertrand Russell

              1 Reply Last reply
              0
              • M Maximilien

                I'd say you are correct. In the case of the examples you give, there are no reason to switch to 64 bits.

                I'd rather be phishing!

                P Offline
                P Offline
                Plamen Dragiyski
                wrote on last edited by
                #14

                Maximilien wrote:

                In the case of the examples you give, there are no reason to switch to 64 bits.

                In my experience some of the image manipulation programs (like photoshop) seems twice as fast at startup and some operations when using 64-bit version on 64-bit OS. This is quite logical, since image manipulation require reading of pixels usually AARRGGBB format, which is 32-bit. If using aligned words, you can get twice as many pixels from memory in one op.

                1 Reply Last reply
                0
                • E ed welch

                  I'm not sure that's true. If you compile with x64 your program has more registers available. Also according to this: http://msdn.microsoft.com/en-us/library/windows/desktop/aa384219%28v=vs.85%29.aspx[^] "WOW64 adds significant overhead if two or more instances of the same 32-bit application are running concurrently"

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #15

                  .. on an Itanium processor, which no one has.

                  OriginalGriffO E 2 Replies Last reply
                  0
                  • L Lost User

                    .. on an Itanium processor, which no one has.

                    OriginalGriffO Offline
                    OriginalGriffO Offline
                    OriginalGriff
                    wrote on last edited by
                    #16

                    harold aptroot wrote:

                    on an Unobtainium processor

                    FTFY!

                    Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

                    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                    L 1 Reply Last reply
                    0
                    • OriginalGriffO OriginalGriff

                      harold aptroot wrote:

                      on an Unobtainium processor

                      FTFY!

                      Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #17

                      Or Itanic

                      1 Reply Last reply
                      0
                      • E ed welch

                        Would I be correct in saying that most Windows apps have no 64-bit version? I know this is true for Visual Studio, and it also seems to be the case for tools like editplus and irfanview.

                        C Offline
                        C Offline
                        Colborne_Greg
                        wrote on last edited by
                        #18

                        All my windows apps are 64 bit

                        1 Reply Last reply
                        0
                        • E ed welch

                          Would I be correct in saying that most Windows apps have no 64-bit version? I know this is true for Visual Studio, and it also seems to be the case for tools like editplus and irfanview.

                          S Offline
                          S Offline
                          SteveTheThread
                          wrote on last edited by
                          #19

                          When it comes to .net apps, there is an overhead when compiled as 64bit currently as the 64bit JIT compiler is optimized for services rather than applications. However the CLR team is currently re-writing all their compilers to a common bases that will improve the start up time for 64 bit .net apps.

                          1 Reply Last reply
                          0
                          • M Maximilien

                            I did not say that; NOT ALL applications gain from being in 64bit. Other than having access to more memory, there is no real gain in performance. In the examples (irfanview, editplus, VS), there is no advantages to convert to 64 bits; they all are working on relatively small dataset. We are working on an engineering software, we work with 3D models and large datasets; and in the last couple of years, our clients were working with large datasets and we had no choice of switching to 64bit (with a lot of pain,sweat and swear due to very old legacy code).

                            I'd rather be phishing!

                            D Offline
                            D Offline
                            Dan Neely
                            wrote on last edited by
                            #20

                            That might be true for most users; but the 32bit nature of VS is causing problems for some large software projects. Mozilla's been bumping into memory limits with MS's 32bit linker for years. And while 64bit isn't a headline target for the VS team, a few years ago (vs2010 release???) when asked they blogged that they'd been making sure that each component they touched in development was made 64bit compatible when they were done along with whatever functional changes were responsible for it being updated in the first place. The intent was to get most of the way there organically so that wrapping up the remaining loose ends would be a reasonably sized task as part of a release as opposed to something that would consume all of their work for a few years.

                            Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

                            1 Reply Last reply
                            0
                            • M Maximilien

                              I'd say you are correct. In the case of the examples you give, there are no reason to switch to 64 bits.

                              I'd rather be phishing!

                              D Offline
                              D Offline
                              Dan Neely
                              wrote on last edited by
                              #21

                              ASLR[^] works much better for protecting a program against attack if it has a 64bit address space to work with than if it's limited to 32 bits.

                              Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

                              1 Reply Last reply
                              0
                              • S Super Lloyd

                                Most .NET apps are 64 bits on 64 bits OS! :laugh:

                                My programming get away... The Blog... DirectX for WinRT/C# since 2013! Taking over the world since 1371!

                                D Offline
                                D Offline
                                Dan Neely
                                wrote on last edited by
                                #22

                                Only if they don't have any supporting libraries that tie into native code. I've got multiple solutions that I had to force to 32bit mode because of a single C++ lib dependency hidden in some other supporting component because MS doesn't have any way to either create dual 32/64bit native dlls or to bundle both with a .net solution and pick the right one automatically. :mad: :((

                                Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

                                S 1 Reply Last reply
                                0
                                • D Dan Neely

                                  Only if they don't have any supporting libraries that tie into native code. I've got multiple solutions that I had to force to 32bit mode because of a single C++ lib dependency hidden in some other supporting component because MS doesn't have any way to either create dual 32/64bit native dlls or to bundle both with a .net solution and pick the right one automatically. :mad: :((

                                  Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

                                  S Offline
                                  S Offline
                                  Super Lloyd
                                  wrote on last edited by
                                  #23

                                  Yeah this quite irritating you can't bundle multiple CPU support in one unit.. :| Though you can in WinRT! If only it was not only for Win8 "Modern app" only! :~

                                  My programming get away... The Blog... DirectX for WinRT/C# since 2013! Taking over the world since 1371!

                                  1 Reply Last reply
                                  0
                                  • S Super Lloyd

                                    Most .NET apps are 64 bits on 64 bits OS! :laugh:

                                    My programming get away... The Blog... DirectX for WinRT/C# since 2013! Taking over the world since 1371!

                                    Z Offline
                                    Z Offline
                                    zpinklb
                                    wrote on last edited by
                                    #24

                                    ...and many which relies on external libraries built only for x86 fails miserably ;-)

                                    1 Reply Last reply
                                    0
                                    • L Lost User

                                      .. on an Itanium processor, which no one has.

                                      E Offline
                                      E Offline
                                      ed welch
                                      wrote on last edited by
                                      #25

                                      oh, my bad. You're right. Looks like I read that article too quickly ;)

                                      1 Reply Last reply
                                      0
                                      • E ed welch

                                        Would I be correct in saying that most Windows apps have no 64-bit version? I know this is true for Visual Studio, and it also seems to be the case for tools like editplus and irfanview.

                                        J Offline
                                        J Offline
                                        Jeremy David Thomson
                                        wrote on last edited by
                                        #26

                                        Fractal Extreme runs twice as fast in 64 bit mode. Possibly because of the eight extra 128 bit SIMD registers available in 64 bit mode (XMM8-XMM15). Taking days to generate Mandelbrot zoom movies I upgraded to Win7 64 bit specifically for this speedup.

                                        1 Reply Last reply
                                        0
                                        • L Lost User

                                          Heck even debugging a single program that is intended to run on a 64 bit OS because it needs the extra memory. I failed to see his logic. The only people that should still be on 32 bit are those that refer to the internet as "That email thingy".

                                          Computers have been intelligent for a long time now. It just so happens that the program writers are about as effective as a room full of monkeys trying to crank out a copy of Hamlet. The interesting thing about software is it can not reproduce, until it can.

                                          enhzflepE Offline
                                          enhzflepE Offline
                                          enhzflep
                                          wrote on last edited by
                                          #27

                                          Collin Jasnoch wrote:

                                          The only people that should still be on 32 bit are those that refer to the internet as "That email thingy".

                                          Sorry old chap, but I must disagree there. If you've got under 4gb of memory, there's no advantage to building a 64-bit application in many, many cases. In fact, as you're no doubt aware, 64bit instructions are longer and can have the effect of reducing the effectiveness of the machine, by reducing the amount of RAM available for data. So, with an older machine that's still being put to useful work, a 32bit OS can be a better choice. Not sure how many 64bit smart phones/tablets there are - each can do useful work too. Nevermind the fact that you can't run a 64bit OS on a raspberry pi or any one of a number of other embedded solutions.

                                          L 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups