Misplaced Pages

IL2CPU

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these messages)
This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "IL2CPU" – news · newspapers · books · scholar · JSTOR (April 2016) (Learn how and when to remove this message)
The topic of this article may not meet Misplaced Pages's notability guidelines for products and services. Please help to demonstrate the notability of the topic by citing reliable secondary sources that are independent of the topic and provide significant coverage of it beyond a mere trivial mention. If notability cannot be shown, the article is likely to be merged, redirected, or deleted.
Find sources: "IL2CPU" – news · newspapers · books · scholar · JSTOR (April 2016) (Learn how and when to remove this message)
(Learn how and when to remove this message)
IL2CPU
Developer(s)Cosmos Project
Stable releaseRelease 20221121 / 21 November 2022; 2 years ago (2022-11-21)
Repositorygithub.com/CosmosOS/IL2CPU
Available inEnglish
LicenseBSD
Websitewww.il2cpu.net

IL2CPU (IL To CPU) is an ahead-of-time (AOT) compiler for .NET that is written using one of its Common Intermediate Language compliant languages (C#). It translates Common Intermediate Language to bare metal machine code. IL2CPU is the primary compilation component of the Cosmos Project, and is developed by the same team.

History

IL2CPU was created in 2005 by the Cosmos team. It was originally designed for the .NET Framework, but has since been upgraded to .NET Core, which is now known as just .NET.

As of 2022, it is planned to be superseded by .NET's native ahead-of-time (AOT) compiler, NativeAOT, however it is still in active development.

Technical details

IL2CPU is a console program invoked by the Cosmos build process. It takes in a dynamic link library (DLL) file, systematically scans its opcodes and outputs x86 instructions to be consumed by one of Cosmos's output methods, e.g. to create an ISO disk image file or to be booted over the network via PXE.

See also

External links

Categories: