Also, as an aside, there's a few projects to come up with abstract IL
compilers (similar to ASM, but writes IL instead of native op codes).
Although, my suspicions are that this won't become part of C# unless there's
an incredibly good reason to do it (and a lot of pressure). More likely, you
can create an assembly of highly-optimized IL, and use it from your C#
programs. Additionally, C# does a pretty decent job of optimization, and
furthermore, the JIT compiler optimzes the IL to native code, so specifying
IL instructions directly isn't the end-all to optimization, and there's no
guarantee the JIT compiler won't do something unexpected behind your back.
-Rob Teixeira [MVP]
"Willy Denoyette [MVP]" <wi*************@pandora.be> wrote in message
news:O5**************@tk2msftngp13.phx.gbl...
Some remarks;
C# doesn't automate memory management, the CLR does it.
You don't use _asm in C++ only to use pointers or do some pointer
arithmetic's, but because you have some highly optimized assembly code to
merge with your C++ code.
_asm is not allowed in MEC++, for the same reason it's not done in C#.
If you need this, your only option is (unmanaged) C++.
Willy.