How can compiling my application for 64-bit make it faster or better?

后端 未结 5 2184
小鲜肉
小鲜肉 2020-12-10 03:45

I use C#, .NET, VS.NET 2008.

Besides being able to address more memory, what are the advantages to compiling my application to 64-bit?

Is it going to be fas

5条回答
  •  渐次进展
    2020-12-10 03:52

    I doubt it (given the C#/.NET platform), unless you are using Native Code. Remember, .NET managed code is compiled to IL, and the platform switch defaults to anycpu, so you should get better performance on 64-bit OS with your existing binary:

    http://blogs.msdn.com/gauravseth/archive/2006/03/07/545104.aspx

    This article has a ton of useful information including regarding the CorFlags tool which will let you inspect a PE header.

    In general, for native code binaries, yes.

提交回复
热议问题