[Mono-osx] MonoMac released.
Miguel de Icaza
miguel at novell.com
Wed Apr 21 18:22:33 EDT 2010
Hello,
> What would be GREAT at all is a native code compiler.
> As MonoTouch compiles the code to ASM, it would be great to have
> MonoMac compiling to PPC/x86.
>
> Why would you say.
>
> Well yesterday I made a little inventory application in C# with no
> more than 500 lines of code using WinForms and SQLite.NET and while
> execution is fast (in a G4 PowerPC and a Core 2 Duo Intel), starting
> it tooks long, long time (5 minutes in the G4 and 2 minutes in the
> Core 2 Duo).
>
> This behavior is unacceptable indeed if we are trying to make Mono
> able to do native-similar applications.
Mono's JIT is a native compiler. All that AOT does it compile the code
as a batch process before you run your code. For a 500 line program
the JIT time is probably 0.1 seconds.
Native compilation will get you 0.1 seconds back out of those 5 minutes.
So if things are taking too long, the problem is elsewhere. There is
some sloppy coding somewhere in the pipeline of your program.
More information about the Mono-osx
mailing list