[Mono-dev] gmcs and The Future

russell.kay at realtimeworlds.com russell.kay at realtimeworlds.com
Wed Feb 4 11:17:08 EST 2009

Well it was a thought, we are looking for something like this in the
future for our own classes (particularly maths heavy functions), so this
is something that we can overcome ourselves (we are planning on using
something like Cecil to rewrite the assemblies), but if it was available
within the compiler then it would be much better.

Even if it only did it within the security constraints that it has and
knows about.


-----Original Message-----
From: mono-devel-list-bounces at lists.ximian.com
[mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of Jb Evain
Sent: 04 February 2009 16:10
To: Russell Kay
Cc: scott at ssblack.co.nz; mono-devel-list at lists.ximian.com
Subject: Re: [Mono-dev] gmcs and The Future


On 2/4/09, russell.kay at realtimeworlds.com
<russell.kay at realtimeworlds.com> wrote:
>  So I'm not expecting the C# compiler to output anything other than IL
>  but just eliminate the calling overhead and not relying on the JIT to
>  the inlining.

That's just not possible for a large majority of the cases, as it
would cause a lot of access exceptions. You can't simply inline an
instance method which reads a private field in its own type, inside
another type for instance.

Jb Evain  <jb at nurv.fr>
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com

This email has been scanned by the MessageLabs Email Security System


This message and any attachments contain privileged and confidential information intended for the use of the addressee named above. If you are not the intended recipient of this message, you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. Please note that we cannot guarantee that this message or any attachment is virus free or that it has not been intercepted and amended. The views of the author may not necessarily reflect those of Realtime Worlds Ltd.


Realtime Worlds Ltd is registered in Scotland, number 225628. Registered Office: 152 West Marketgait, Dundee, DD1 1NJ.

More information about the Mono-devel-list mailing list