473,804 Members | 3,602 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

64-bit .NET questions, for anyone in the know...

1. Will there be different 64-bit .NET implementations for Intel and AMD
64-bit processors or will they share a common 64-bit CLR?

2. Will .NET managed code compiled for the 32-bit CLR be binary compatible
with the 64-bit CLR or will a recompile with code changes be required?

3. Will 64-bit CLR processes be able to address process space above the
2-Gig memory limit imposed by the 32-bit architecture?

4. Will there be a significant performance gain in the 64-bit managed code
over a 32-bit counterpart?

5. How can I apply for the 64-bit .NET Framework beta program?
Nov 15 '05 #1
11 1909
> 1. Will there be different 64-bit .NET implementations for Intel and AMD
64-bit processors or will they share a common 64-bit CLR?
Can you give me a hint where you found information about a 64-bit CLR ?
From what I understand, it's just a thin layer on the operating system. So,
it would
really surprise me if there would be a 64-bit CLR, even because it was
designed to be
independent from processors.

daniel

"JDeats" <je****@pdq.net > schrieb im Newsbeitrag
news:b0******** *************** ***@posting.goo gle.com... 1. Will there be different 64-bit .NET implementations for Intel and AMD
64-bit processors or will they share a common 64-bit CLR?

2. Will .NET managed code compiled for the 32-bit CLR be binary compatible
with the 64-bit CLR or will a recompile with code changes be required?

3. Will 64-bit CLR processes be able to address process space above the
2-Gig memory limit imposed by the 32-bit architecture?

4. Will there be a significant performance gain in the 64-bit managed code
over a 32-bit counterpart?

5. How can I apply for the 64-bit .NET Framework beta program?

Nov 15 '05 #2

"Daniel Weber" <dc************ *****@gmx.de> wrote in message
news:bk******** *****@news.t-online.com...
1. Will there be different 64-bit .NET implementations for Intel and AMD
64-bit processors or will they share a common 64-bit CLR?
Can you give me a hint where you found information about a 64-bit CLR ?
From what I understand, it's just a thin layer on the operating system.

So, it would
really surprise me if there would be a 64-bit CLR, even because it was
designed to be
independent from processors.

Well, each processor requires a JIT compiler that can emit code for that
processor(proba bly a major change). A garbage collector and memory
allocation system that can handle allocations and cleanups in the proper
method for that processor and memory architecture(po tentially not much of a
change, but I don't know for sure). Some types will change(such as IntPtr),
etc.
In short, each processor type would, for sake of optimization and
compatibility, need its own set of those particular components(plus more
than likely several others that aren't written in managed code, I'm not
sure).
The AA 64 level processors are not binary compatible with the IA64 ones.
They use entirely different instruction sets and are entirely different
architectures. Each has a method to run IA32 code, with the AMD being a
usable method and IA64 being a thunk just to make it work. So it is pretty
much impossible, short of an additional level of emulation, for an
implementation of an IA64 JIT to run on an AA64 processor, and vice versa.

However, I think the JIT design of the framework could lend itself very well
to IA64's design, I am curious how many optimizations the JIT team is able
to put into that JIT compiler as far as predication and the like goes.
daniel

"JDeats" <je****@pdq.net > schrieb im Newsbeitrag
news:b0******** *************** ***@posting.goo gle.com...
1. Will there be different 64-bit .NET implementations for Intel and AMD
64-bit processors or will they share a common 64-bit CLR?

2. Will .NET managed code compiled for the 32-bit CLR be binary compatible with the 64-bit CLR or will a recompile with code changes be required?

3. Will 64-bit CLR processes be able to address process space above the
2-Gig memory limit imposed by the 32-bit architecture?

4. Will there be a significant performance gain in the 64-bit managed code over a 32-bit counterpart?

5. How can I apply for the 64-bit .NET Framework beta program?


Nov 15 '05 #3

"Daniel Weber" <dc************ *****@gmx.de> wrote in message
news:bk******** *****@news.t-online.com...
1. Will there be different 64-bit .NET implementations for Intel and AMD
64-bit processors or will they share a common 64-bit CLR?
Can you give me a hint where you found information about a 64-bit CLR ?
From what I understand, it's just a thin layer on the operating system.

So, it would
really surprise me if there would be a 64-bit CLR, even because it was
designed to be
independent from processors.

Well, each processor requires a JIT compiler that can emit code for that
processor(proba bly a major change). A garbage collector and memory
allocation system that can handle allocations and cleanups in the proper
method for that processor and memory architecture(po tentially not much of a
change, but I don't know for sure). Some types will change(such as IntPtr),
etc.
In short, each processor type would, for sake of optimization and
compatibility, need its own set of those particular components(plus more
than likely several others that aren't written in managed code, I'm not
sure).
The AA 64 level processors are not binary compatible with the IA64 ones.
They use entirely different instruction sets and are entirely different
architectures. Each has a method to run IA32 code, with the AMD being a
usable method and IA64 being a thunk just to make it work. So it is pretty
much impossible, short of an additional level of emulation, for an
implementation of an IA64 JIT to run on an AA64 processor, and vice versa.

However, I think the JIT design of the framework could lend itself very well
to IA64's design, I am curious how many optimizations the JIT team is able
to put into that JIT compiler as far as predication and the like goes.
daniel

"JDeats" <je****@pdq.net > schrieb im Newsbeitrag
news:b0******** *************** ***@posting.goo gle.com...
1. Will there be different 64-bit .NET implementations for Intel and AMD
64-bit processors or will they share a common 64-bit CLR?

2. Will .NET managed code compiled for the 32-bit CLR be binary compatible with the 64-bit CLR or will a recompile with code changes be required?

3. Will 64-bit CLR processes be able to address process space above the
2-Gig memory limit imposed by the 32-bit architecture?

4. Will there be a significant performance gain in the 64-bit managed code over a 32-bit counterpart?

5. How can I apply for the 64-bit .NET Framework beta program?


Nov 15 '05 #4
The following answers to your questions are from Microsoft via MSDN TV
and other misc articles:

je****@pdq.net (JDeats) wrote in message news:<b0******* *************** ****@posting.go ogle.com>...
1. Will there be different 64-bit .NET implementations for Intel and AMD
64-bit processors or will they share a common 64-bit CLR?

Yes, the 64-bit CLR will support/be optimized for both AMD and Intel's
64-bit architectures.

2. Will .NET managed code compiled for the 32-bit CLR be binary compatible
with the 64-bit CLR or will a recompile with code changes be required?

In most cases all managed code will be binary compatible and therefor
not require a recompile (e.g. just copy over your existing 32-bit
compiled .NET EXE Assembly and DLLs and the 64-bit CLR will attempt to
run it). There are a few exceptions. Some of the primitive types take
up different memory sizes (float's if I recall) so if you're
performing a logical check and taking action based on the memory size
of a float you will have to rewrite that part of your code, there are
a few other small issues such as this.

Unmanaged code (including COM references and Win32 API dll references)
will not run in the 64-bit CLR. When the next VS ships the Framework
will offer something called WoW32 (Windows-On-Windows) that will allow
you to go in to the global assembly cache and tag a given assembly to
run under WoW32 or CLR64. If it's taged for Wow32 then it will run as
32-bit code and unmanaged references will work fine in this mode. The
trade off is that you loose all the 64-bit advantage. Unfortunately
there are no plans for a mixed mode (where the managed code can run in
64-bit and the unmanged in 32-bit. the process has to be one or the
other.

3. Will 64-bit CLR processes be able to address process space above the
2-Gig memory limit imposed by the 32-bit architecture?

Yes, this is one of the key advantages.

4. Will there be a significant performance gain in the 64-bit managed code
over a 32-bit counterpart?

You will get immediate performance increase thanks to the
optimizations of the 64-bit CLR, the benchmarks aren't in yet to tell
us how much improvement to expect. The beta isn't useful for that so
we'll have to wait.
5. How can I apply for the 64-bit .NET Framework beta program?


I believe it's closed now. The 64-bit .NET Framework should be
available first or second quater 2004 as part of the Whidbey (Visual
Studio.NET 2004) release.
Nov 15 '05 #5
The following answers to your questions are from Microsoft via MSDN TV
and other misc articles:

je****@pdq.net (JDeats) wrote in message news:<b0******* *************** ****@posting.go ogle.com>...
1. Will there be different 64-bit .NET implementations for Intel and AMD
64-bit processors or will they share a common 64-bit CLR?

Yes, the 64-bit CLR will support/be optimized for both AMD and Intel's
64-bit architectures.

2. Will .NET managed code compiled for the 32-bit CLR be binary compatible
with the 64-bit CLR or will a recompile with code changes be required?

In most cases all managed code will be binary compatible and therefor
not require a recompile (e.g. just copy over your existing 32-bit
compiled .NET EXE Assembly and DLLs and the 64-bit CLR will attempt to
run it). There are a few exceptions. Some of the primitive types take
up different memory sizes (float's if I recall) so if you're
performing a logical check and taking action based on the memory size
of a float you will have to rewrite that part of your code, there are
a few other small issues such as this.

Unmanaged code (including COM references and Win32 API dll references)
will not run in the 64-bit CLR. When the next VS ships the Framework
will offer something called WoW32 (Windows-On-Windows) that will allow
you to go in to the global assembly cache and tag a given assembly to
run under WoW32 or CLR64. If it's taged for Wow32 then it will run as
32-bit code and unmanaged references will work fine in this mode. The
trade off is that you loose all the 64-bit advantage. Unfortunately
there are no plans for a mixed mode (where the managed code can run in
64-bit and the unmanged in 32-bit. the process has to be one or the
other.

3. Will 64-bit CLR processes be able to address process space above the
2-Gig memory limit imposed by the 32-bit architecture?

Yes, this is one of the key advantages.

4. Will there be a significant performance gain in the 64-bit managed code
over a 32-bit counterpart?

You will get immediate performance increase thanks to the
optimizations of the 64-bit CLR, the benchmarks aren't in yet to tell
us how much improvement to expect. The beta isn't useful for that so
we'll have to wait.
5. How can I apply for the 64-bit .NET Framework beta program?


I believe it's closed now. The 64-bit .NET Framework should be
available first or second quater 2004 as part of the Whidbey (Visual
Studio.NET 2004) release.
Nov 15 '05 #6
JamesMason <jm****@funnyde light.co.uk> wrote:
In most cases all managed code will be binary compatible and therefor
not require a recompile (e.g. just copy over your existing 32-bit
compiled .NET EXE Assembly and DLLs and the 64-bit CLR will attempt to
run it). There are a few exceptions. Some of the primitive types take
up different memory sizes (float's if I recall) so if you're
performing a logical check and taking action based on the memory size
of a float you will have to rewrite that part of your code, there are
a few other small issues such as this.


I seriously hope that's not true. The System.Single and System.Double
types have very specific sizes. There are certain circumstances where
larger sizes can be used for intermediate calculations etc, but the
sizes of the types themselves are well-defined. It would be ludicrous
to get back to the situation of C where types mean different things on
different compilers etc.

Of course, the CLR may wish to lay things out in memory differently,
when it's allowed to - if that's what you mean, it makes perfect sense.
(Things may be better aligned on 64 bit boundaries than 32 bit
boundaries, for instance.)

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 15 '05 #7
JamesMason <jm****@funnyde light.co.uk> wrote:
In most cases all managed code will be binary compatible and therefor
not require a recompile (e.g. just copy over your existing 32-bit
compiled .NET EXE Assembly and DLLs and the 64-bit CLR will attempt to
run it). There are a few exceptions. Some of the primitive types take
up different memory sizes (float's if I recall) so if you're
performing a logical check and taking action based on the memory size
of a float you will have to rewrite that part of your code, there are
a few other small issues such as this.


I seriously hope that's not true. The System.Single and System.Double
types have very specific sizes. There are certain circumstances where
larger sizes can be used for intermediate calculations etc, but the
sizes of the types themselves are well-defined. It would be ludicrous
to get back to the situation of C where types mean different things on
different compilers etc.

Of course, the CLR may wish to lay things out in memory differently,
when it's allowed to - if that's what you mean, it makes perfect sense.
(Things may be better aligned on 64 bit boundaries than 32 bit
boundaries, for instance.)

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 15 '05 #8
For most cases the Framework will resolve the problem, for eample, you
define an integer as:

int myval = 0;

The runtime should now to use Int64 instead of Int32, it's more
efficient to use the full register. If you explicitly define your
primitives, such as:

System.Int32 myval = 0;

Then the compiler will force a half-register and the overall
performance will be hindered (not sure if this will be enough to make
a difference). I wish I know more about this, if anyone does please
feel free to correct me or append to this information.


I seriously hope that's not true. The System.Single and System.Double
types have very specific sizes. There are certain circumstances where
larger sizes can be used for intermediate calculations etc, but the
sizes of the types themselves are well-defined. It would be ludicrous
to get back to the situation of C where types mean different things on
different compilers etc.

Of course, the CLR may wish to lay things out in memory differently,
when it's allowed to - if that's what you mean, it makes perfect sense.
(Things may be better aligned on 64 bit boundaries than 32 bit
boundaries, for instance.)

Nov 15 '05 #9
JamesMason <jm****@funnyde light.co.uk> wrote:
For most cases the Framework will resolve the problem, for eample, you
define an integer as:

int myval = 0;

The runtime should now to use Int64 instead of Int32, it's more
efficient to use the full register.
No! It should still use Int32, because that's what the C# spec calls
for. Now, if it wants to emulate that by using a 64 bit register and
being cunning, that's one thing - but gratuitously violating the C#
specification is something different entirely.
If you explicitly define your
primitives, such as:

System.Int32 myval = 0;

Then the compiler will force a half-register and the overall
performance will be hindered (not sure if this will be enough to make
a difference).


The C# compiler will produce IL code using System.Int32 whether you do

int myval=0;
or
System.Int32 myval=0;

- the IL will be identical.
--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 15 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1544
by: Marc Poinot | last post by:
Did anybody use numarray on a 64 bits platform ? (e.g. SGI/Irix) The package works on our 64 bits platforms... using 32 bits mode, but not using 64 mode. Big crash in _ufunc... Is there a flag to set somewhere, trick, hint, noway ? -MP- ----------------------------------------------------------------------- Marc POINOT Alias: marcvs Email: poinot@onera.fr ONERA -MFE/DSNA/ELSA Tel: 01.46.73.42.84 Info:...
1
2058
by: Hugo | last post by:
I have a dual boot machine, runs Win XP pro and Win XP Pro 64, XP boots from C and XP 64 boots from D. They both have VS 2005 Beta 2 installed. I have a webapp developed in Win XP (32) which has gone well and runs fine in XP. I Now want to get this same app running under IIS on XP 64.
4
4625
by: muroogan | last post by:
I read a text file into a char variable char tchar; I want to trim leading spaces (Left trim).How can I do that in C++. Any input will be appreciated.
3
2256
by: Odd Bjørn Andersen | last post by:
I was asked to install db2 udb workgroup edition (version 7.2) 64-bits on AIX. But I cannot find that we have a CD with that software. Only Enterprise Edition. Is it correct that you have to install Enterprise (Server) Edition if you want 64-bits DB2 UDB (both version 7 and 8) on AIX ? And that Workgroup (Server) Edition doesn't come in 64-bits, only 32 ? -- Regards
56
4142
by: Dave Vandervies | last post by:
I just fixed a bug that some of the correctness pedants around here may find useful as ammunition. The problem was that some code would, very occasionally, die with a segmentation violation error. (Not as infrequent as some bugs that have been discussed here in the past, but maybe once in an overnight run of the program when it was configured to aggressively exercise the section that the bug was in.) It was easy enough to trap the...
0
1307
by: Hugo | last post by:
I have a dual boot machine, runs Win XP pro and Win XP Pro 64, Win XP boots from C and Win XP 64 boot from D. They both have VS 2005 Beta 2 installed. I have a webapp developed in Win XP (32) which has gone well and runs fine in XP. I Now want to get this same app running under IIS on XP 64.
1
2171
by: mel_apiso | last post by:
Hi, we have an AIX 5.3 OS, and we purchased DB2 UDB version 8 Workgroup Edition. We want to install 64 bits version, but the source CD's that we have say: WORKGROUP SERVER EDITION Version 8.1 for AIX 5L
13
4099
by: Mary Lei | last post by:
Does anyone know the link to obtain the tarball for db2 8.1 for solaris running on AMD 64 bit ? This is the entire db2 installation on a new system that does not have db2. Thanks.
10
10722
by: krunalb | last post by:
Hi, I am trying to shift unsigned long long value by 64 bits and this is what i get #include <stdio.h> int main() { unsigned short shiftby= 64;
2
1790
by: James | last post by:
What's the difference between DB2V8 32-bits and 64-bits instance on AIX? and I am confused the relationship between DB2 32/64-bits instance and 32/64-bits AIX? Maybe it is a simple question. Please advise. Thanks so much.
0
9705
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9576
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10567
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10323
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10310
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10074
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9138
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7613
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
2
3809
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.