Re: Can you write code directly in CIL ???
- From: Jon Skeet [C# MVP] <skeet@xxxxxxxxx>
- Date: Tue, 27 Dec 2005 17:05:49 -0000
Nicholas Paldino [.NET/C# MVP] <mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> I will second that the C++ compiler is better at optimizing IL output
> than the C# compiler. However, as Willy stated, it will not always produce
> verifiable code... I believe the article you were looking for is in MSDN
> magazine.
No, the article was definitely someone posting in this group saying, "I
want to be able to embed IL in my C# code, here's why." He then
produced some better IL (which I suspect *was* verifiable) which the C#
compiler "could" have produced from the source C# (i.e. the behaviour
was identical).
I'm sure this will improve over time, but to be honest it's usually the
JIT that has more to do with optimisation IMO.
> But as a general statement, the C++ compiler generally has the best
> optimizations (and for unmanaged code, with the new profile-guided
> optimization, it's even cooler).
Right.
--
Jon Skeet - <skeet@xxxxxxxxx>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
.
- Follow-Ups:
- Re: Can you write code directly in CIL ???
- From: Peter Olcott
- Re: Can you write code directly in CIL ???
- References:
- Can you write code directly in CIL ???
- From: Peter Olcott
- Re: Can you write code directly in CIL ???
- From: Abubakar
- Re: Can you write code directly in CIL ???
- From: Jon Skeet [C# MVP]
- Re: Can you write code directly in CIL ???
- From: Abubakar
- Re: Can you write code directly in CIL ???
- From: Jon Skeet [C# MVP]
- Re: Can you write code directly in CIL ???
- From: Abubakar
- Re: Can you write code directly in CIL ???
- From: Jon Skeet [C# MVP]
- Re: Can you write code directly in CIL ???
- From: Nicholas Paldino [.NET/C# MVP]
- Can you write code directly in CIL ???
- Prev by Date: Re: Technical question?
- Next by Date: ORACLE/MSSQL casting question
- Previous by thread: Re: Can you write code directly in CIL ???
- Next by thread: Re: Can you write code directly in CIL ???
- Index(es):
Relevant Pages
|