[Mono-dev] Jit and C# Compiler
Paolo Molaro
lupus at ximian.com
Fri Oct 6 05:15:59 EDT 2006
On 10/05/06 Khaled A. K. Mohammed wrote:
> I am briefly describing the project below.
> The project will aim to improve the execution of CIL image on multicore
> processors. First step is to change the C# compiler to insert custom
> instructions into the managed binary (just like how the line #s are
> stored). These instructions will be parsed by JIT to pick valuable
You may want to handle this at the IL code level, so that other
languages than C# can be supported. You'd use Cecil or some other such
library to load the compiled assembly, change the IL code and save it
back.
Depending on what you really want to do to the code, in most cases it
might be enough to just change method calls to go through a runtime
library you can write in C# that will dispatch the call to a pool of
threads (obviously only for a selected subset of calls).
lupus
--
-----------------------------------------------------------------
lupus at debian.org debian/rules
lupus at ximian.com Monkeys do it better
More information about the Mono-devel-list
mailing list