Porting 32 bit C++ code to 64 bit - is it worth it? Why?

前端 未结 19 2869
攒了一身酷
攒了一身酷 2020-12-24 00:58

I am aware of some the obvious gains of the x64 architecture (higher addressable RAM addresses, etc)... but:

  • What if my program has no real need to run in nati
19条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-24 01:56

    It depends on whether your code is an application or a reusable library. For a library, keep in mind that the client of that library may have good reasons to run in 64-bit mode, so you have to ensure that your scenario works. This may also apply to applications when they are extensible via plugins.

提交回复
热议问题