Since optimization is not done in C#->IL but in IL->x86, then
there are no reason to believe it could be used for optimization
and you can not use IL to access various low level hardware
features.
Since optimization is not done in C#->IL but in IL->x86, then
there are no reason to believe it could be used for optimization
and you can not use IL to access various low level hardware
features.
There are a few cases where hand-tweaking the IL would allow for
further optimisation (which *does* have an effect). It's rare, but it
could very occasionally be useful.
There are also some features which IL allows for but C# doesn't
(covariance/contravariance of generics in interfaces, for example).
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.