.Net 64 bit

  • Thread starter Thread starter GaryDean
  • Start date Start date
G

GaryDean

When I google ".Net 64 bit" all I seem to get is stuff from a couple years
back. What is the situation with .Net apps and 64 bit. You know all the
questions...

Is there a visual studio that runs 64bit.
Can I develop native 64 bit apps in .Net.
Is there a 64 bit version of the clr.
etc
etc

thanks,
Gary
 
Is there a visual studio that runs 64bit.

No, VS is still 32bit, it runs as a WoW process under 64 bit Windows.
Can I develop native 64 bit apps in .Net.

Define "native"? You mean a .NET application which is for x64 only? Yes,
you can. Your apps can be compiled to target x86, x64, or "Any CPU".

If you're a VB developer, Edit & Continue will not work for 64bit apps.
There may be other debugging limitations also.
Is there a 64 bit version of the clr.

AFAIK, the CLR assemblies are x86/x64 compatible, but not necessarily
specifically targeted to either.
 
HI

My version of VIsual studio support both 32 and 64 version of Vista. When I
installed VS I saw that some components that was installed where Vista 64
components. When I installed VS on my XP PC the same components where
installed as 32 bit components. don't know if that was the .NET components
or if it was for the C++ and VB Compiler.

I found some interesting information on the page
http://msdn.microsoft.com/en-us/library/cc598160.aspx

As far as I know you should be able to compile C# code into X++ or similar
code and then use the same code in Delphi Studio 2005 and later, or vise
versa.

The whole idea about .NET is that the developer shouldn't hve to care if the
target machine runs 32 bit or 64 Windows version or if you have a .NET
server running on Linux (Yes there are ASP.NET servers for Linux available)

It seams as the VS 2008 installer installed compiler components depending on
if it is a 64 bit or a 32 bit operationg system running. My guess is that
only affects the compilers speed not the projects created.


Lars
 
When I google ".Net 64 bit" all I seem to get is stuff from a couple years
back.  What is the situation with .Net apps and 64 bit.  You know allthe
questions...

Is there a visual studio that runs 64bit.

No; arguably, not really needed (yet). You can still develop and debug
64-bit applications using VS.
Can I develop native 64 bit apps in .Net.

Yes. Your assemblies as such aren't really 64-bit (well, unless you
depend on any native libs which are) - they're IL, which is agnostic
in that respect (and it is advised to keep it so in low-level interop
code by using IntPtr and friends). However, 64-bit CLR will JIT-
compile your IL to 64-bit assembly instructions and run that, so in
that sense, what executes in the end is "native 64-bit" machine code.
Is there a 64 bit version of the clr.

Yes, has been since .NET 2.0.
 
GaryDean said:
When I google ".Net 64 bit" all I seem to get is stuff from a couple years
back. What is the situation with .Net apps and 64 bit. You know all the
questions...

Is there a visual studio that runs 64bit.

I don't know if there is one that runs as a 64 bit application, but that
is not needed to develop 64 bit applications.
Can I develop native 64 bit apps in .Net.

Possibly, but you would rather use it to develop managed 64 bit
applications.
Is there a 64 bit version of the clr.

Yes.
 
GaryDean said:
When I google ".Net 64 bit" all I seem to get is stuff from a couple years
back. What is the situation with .Net apps and 64 bit. You know all the
questions...

Is there a visual studio that runs 64bit.

There is a version that runs on 64 bit machines, but it is 32 bit. As
comnpilation produces IL, this is not an issue.
Can I develop native 64 bit apps in .Net.

Yes and no. The IL is not targeted, but you can force some optimizations for
64 bit or ngen in 64 bit. Each of these creates a 64 bit only version
Is there a 64 bit version of the clr.

Yes

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************
 
Hi Gary,

I think most of the community members have already answered your questions
well. Other than that, I want to complement some links for you to reference.

1. Is there a visual studio that runs 64bit.
Visual studio can be run in WOW64, but it is a 32-bit application.
References:
64-bit and Visual Studio 2005:
http://blogs.msdn.com/deeptanshuv/archive/2006/04/11/573795.aspx
Adam Braden clarification for Visual Studio 2008:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2311722&SiteID=1

2. Can I develop native 64 bit apps in .Net.
You can compile your application and specify that it should run on a 64-bit
operating system either as a native application or under WOW64.
References:
Visual Studio 64-bit Applications:
http://msdn.microsoft.com/en-us/library/ms241064.aspx
WOW64 Implementation Details:
http://msdn.microsoft.com/en-us/library/aa384274.aspx

3. Is there a 64 bit version of the clr.
Yes, In order for managed code to execute in the 64-bit environment
consistent with the 32-bit environment, the .NET team developed the Common
Language Runtime (CLR) for the Itanium and x64 64-bit systems.
References:
Migrating 32-bit Managed Code to 64-bit:
http://msdn.microsoft.com/en-us/library/ms973190.aspx

General references for 64bit and .net:
Visual Studio Development Environment 64-Bit Support:
http://msdn.microsoft.com/en-us/library/ms241066.aspx
Debugging on a 64-Bit Platform:
http://msdn.microsoft.com/en-us/library/ms184678.aspx
64-Bit Programming with Visual C++:
http://msdn.microsoft.com/en-us/library/h2k70f3s.aspx

Hoping that those references could help you understand .net and 64bit well.
Have a nice day!

Regards,
Hongye Sun ([email protected], remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://support.microsoft.com/select/default.aspx?target=assistance&ln=en-us.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Hongye,
Thanks to you and all the others for spending time answering my inquiry!

--
Regards,
Gary Blakely

"Hongye Sun [MSFT]" said:
Hi Gary,

I think most of the community members have already answered your questions
well. Other than that, I want to complement some links for you to
reference.

1. Is there a visual studio that runs 64bit.
Visual studio can be run in WOW64, but it is a 32-bit application.
References:
64-bit and Visual Studio 2005:
http://blogs.msdn.com/deeptanshuv/archive/2006/04/11/573795.aspx
Adam Braden clarification for Visual Studio 2008:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2311722&SiteID=1

2. Can I develop native 64 bit apps in .Net.
You can compile your application and specify that it should run on a
64-bit
operating system either as a native application or under WOW64.
References:
Visual Studio 64-bit Applications:
http://msdn.microsoft.com/en-us/library/ms241064.aspx
WOW64 Implementation Details:
http://msdn.microsoft.com/en-us/library/aa384274.aspx

3. Is there a 64 bit version of the clr.
Yes, In order for managed code to execute in the 64-bit environment
consistent with the 32-bit environment, the .NET team developed the Common
Language Runtime (CLR) for the Itanium and x64 64-bit systems.
References:
Migrating 32-bit Managed Code to 64-bit:
http://msdn.microsoft.com/en-us/library/ms973190.aspx

General references for 64bit and .net:
Visual Studio Development Environment 64-Bit Support:
http://msdn.microsoft.com/en-us/library/ms241066.aspx
Debugging on a 64-Bit Platform:
http://msdn.microsoft.com/en-us/library/ms184678.aspx
64-Bit Programming with Visual C++:
http://msdn.microsoft.com/en-us/library/h2k70f3s.aspx

Hoping that those references could help you understand .net and 64bit
well.
Have a nice day!

Regards,
Hongye Sun ([email protected], remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://support.microsoft.com/select/default.aspx?target=assistance&ln=en-us.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.
 
You are welcome, Gary. It is always our pleasure to help you.

Have a great day! :)

Regards,
Hongye Sun ([email protected], remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top