IL2CPP
IL2CPP is a scripting backend designed to convert Mono's CIL output directly into the native C++ code. This leads to improved performance since the application will now be running native code. This ultimately gives Unity Technologies more control of runtime behavior since IL2CPP provides its own AOT compiler and VM, allowing custom improvements to subsystems such as the GC and compilation process. IL2CPP does not intend to replace the Mono platform completely, but it is an additional tool we can enable, which improves part of the functionality that Mono provides.
Note that IL2CPP is automatically enabled for iOS and WebGL projects. For other platforms that support it, IL2CPP can be enabled under Edit | Project Settings | Player | ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access