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
flag generates a file called "myTestProg.exe.so" file that contains the native code which was earlier precompiled by Mono.
Asked In: Many Interviews |