.Net Compiler question

Status
Not open for further replies.
Yes, the .NET compilers will compile C++.

However, you'll be compiling all the .NET languages to bytecode, which will be interpreted by the CLI. In other words, I don't knwo what to say about speed advantages, since you're comapring apples to oranges here. Most VB code will need to be modifed, C# didn't exist before, and C++ code may still work, but you're not creating the same kind of output.
 

bash666

Ars Legatus Legionis
24,417
Originally posted by dockeen:
Are any of the compilers in the .net framework SDK supposed
to offer any speed advantages over the previous Vis. Studio
compilers.

Even dumber question. I compiled with C# and VB.net today,
is there a version of C++ in the framework?

Wayne (Boy is he dumb tonight)
The C++ compiler is NOT in teh .NET SDK. You need the platform SDK to get the C++ compiler(with is the standard, non optimizing compiler)

-Kevin
 

dockeen

Ars Tribunus Militum
1,600
OK, I understand the notion that whatever compiler is
used, the result is bytecode. To rephrase question
number 1 then, given this way of doing things, is there
any way for a compiler in the .net framework to not
be slower than virtually any of the previous generations
compilers.

Second, we seem to have a difference of opinion in what
is needed to run C++ in this framework. One answer states
you need the platform SDK, the other states you need
".netfx sdk", which I have not head of. Where would I get
either one?

Wayne (he's even dumber in the morning)
 

dhopton

Ars Tribunus Militum
2,009
.netfx = .net framework.
Is just an abbreviated way of saying it.

The .netfx compilers for vb.net & c# are the same as those in VS.Net. The C++ one is non-optimising, and thus the compiler code could be slower. The VS.net C++ compiler produces faster x86 code than does the VS6 C++ compiler.

as for C# - didnt exsist before, so no comparision
VB.net - not herd anything, but when it gets JIT'd at runtime, it could/should be quicker than VB6
 

bash666

Ars Legatus Legionis
24,417
Originally posted by dhopton:
For the standard Win32 headerfiles you need the platform SDK. There is a version included with VS6.0 so the PDK download isnt *needed* to make applictions - it can be very helpful thou.

Unless you're on a 56k, theres no reason NOT to have the platform SDK. Tons of great docs, samples, libs and headers.
Also build environments for 2k, XP, and XP-64.
-Kevin
 
Status
Not open for further replies.