Ubuntu Developers Discuss Using Mono AOT

Written by Michael Larabel in Free Software on 12 May 2012 at 06:48 AM EDT. 49 Comments
FREE SOFTWARE
Ubuntu developers are currently exploring the possibility of using Mono AOT to reduce start-up time, allow for better memory sharing, and for greater performance optimizations.

Mono AOT is the ahead-of-time compiler for Mono. Besides Mono's JIT (Just-In-Time) compiler, they also have an AOT compiler in the Mono run-time code generator. Using the AOT compiler will generate the native code in advance with several benefits. Without having to do the compilation at run-time, the start-up time of Mono-based applications could be reduced. There's potentially increased memory sharing with the AOT method because the compiled code is all PIC, Position Independent Code, and will be shared across multiple Mono instances. The better performance can be done since the AOT compiler can squeeze out more extra CPU-specific optimizations that are not enabled by default with Mono's JIT compiler.

Ubuntu developers are looking at using the Mono AOT on Debian package installation. This idea is still early-on as they will also need to develop the infrastructure to invalidate Mono AOT caches upon any CPU changes and does come at a cost of a slightly larger disk foot-print. They're also investigating Mono AOT for ARM.

Those wishing to learn more about Mono's AOT compiler capabilities can do so at Mono-Project.com.

On this page are the "AOT compile mono libraries at install time" notes. This is a possible feature for Ubuntu 12.10, although there's plenty of people out there that would rather just see Mono code be outright abandoned.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week