How Ahead-of-Time ( AOT) Compiler's compilation process works?

 Posted by Rajnilari2015 on 9/18/2015 | Category: .NET Framework Interview questions | Views: 1626 | Points: 40
Answer:

It works in two phases.

In the first phase,the assemblies will be precompiled.It is a manual process

In the second phase,the precompiled assemblies are picked up by mono runtime and are compiled.

The AOT code is generated by using the below command

mono --aot myTestProg.exe


The –aot flag generates a file called "myTestProg.exe.so" file that contains the native code which was earlier precompiled by Mono.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response