Yes that’s correct. We don’t do anything different when you compile for AnyCPU 
vs x64 in C# or VB.

From: [email protected] [mailto:[email protected]] On 
Behalf Of Greg Keogh
Sent: Friday, November 25, 2016 11:13 AM
To: ozDotNet <[email protected]>
Subject: Re: Target x86/x64


Old thread, but catching up with old posts, and no replies here.

No, it won't. All it does is control a flag that goes into the exe header so 
the OS knows what size process to run it in.
Now that almost all desktop and server machines are running 64-bit Windows, I 
want to know if there is any advantage of any kind in changing my compile 
projects and installer (vdproj) projects to target x64.

Wow, memories of June. Indeed, my reading back then produced the same 
conclusion for "typical" managed executable images that get JIT'd. I forgot the 
details, but targeting x64 instead of Any CPU produces no benefit of any kind. 
I still hope someone can absolutely confirm this ... anyone on the JIT or 
compiler teams listening? -- Greg K

Reply via email to