We are independent & ad-supported. We may earn a commission for purchases made through our links.
Advertiser Disclosure
Our website is an independent, advertising-supported platform. We provide our content free of charge to our readers, and to keep it that way, we rely on revenue generated through advertisements and affiliate partnerships. This means that when you click on certain links on our site and make a purchase, we may earn a commission. Learn more.
How We Make Money
We sustain our operations through affiliate commissions and advertising. If you click on an affiliate link and make a purchase, we may receive a commission from the merchant at no additional cost to you. We also display advertisements on our website, which help generate revenue to support our work and keep our content free for readers. Our editorial team operates independently of our advertising and affiliate partnerships to ensure that our content remains unbiased and focused on providing you with the best information and recommendations based on thorough research and honest evaluations. To remain transparent, we’ve provided a list of our current affiliate partners here.
Software

Our Promise to you

Founded in 2002, our company has been a trusted resource for readers seeking informative and engaging content. Our dedication to quality remains unwavering—and will never change. We follow a strict editorial policy, ensuring that our content is authored by highly qualified professionals and edited by subject matter experts. This guarantees that everything we publish is objective, accurate, and trustworthy.

Over the years, we've refined our approach to cover a wide range of topics, providing readers with reliable and practical advice to enhance their knowledge and skills. That's why millions of readers turn to us each year. Join us in celebrating the joy of learning, guided by standards you can trust.

What Is the Common Language Infrastructure?

By Jo Dunaway
Updated: May 16, 2024
Views: 8,944
References
Share

The common language infrastructure (CLI) is a set of international technical standards promoting computer programming language interoperability. CLI also allows many high-level languages to develop applications that are independent of platforms and architectures. There are more than 30 programming languages grouped for this purpose and making use of four divisions of common language programming specifications to become CLI compliant.

Making use of what is called a common type system (CTS), using a set of data types and operations and metadata information on programming structures allows cross-language code writing. The CLI compiles languages into a common intermediate language (CIL), and from CIL, communicates the application aspects to assembly machine language, which addresses the hardware. Additionally, there are common language specifications (CLS), which are a base rules set for use by any language seeking interoperation, and a virtual execution system (VES) for the loading, execution, and generation of run codes for all CLI-compliant programs.

Most CLI-compliant languages compile directly to the CIL by use of the common language runtime (CLR). After being compiled and cached, a just-in-time compiler then appropriates machine code from the existing architecture. The assembly machine code construction can also be constructed ahead of the CLR with an ahead-of-time compiler.

For CLI-compliant languages to take advantage of object specificity, common language infrastructure specifies that objects only need expose the features they hold in common with the other CLI-compliant languages when being called. Components of code developed to use only data types accepted in the CTS are said to be CLI compliant and accessible to all the other CLI-compliant languages. Additionally, any construct of a language that cannot be verified quickly by the type safety of the code is excluded from the CLS, so that only verifiable codes can be said to be CLS compliant.

Some programming features are common to both compilers and developers and others are available to compilers only. The list is lengthy and full of helpful features. A feature available only to compilers is: keywords that supply referencing identifiers and that can override virtual methods with names that are keywords. A feature available to both compilers and developers includes: modifier features that say that a property as well as its assessors must be all “static,” must all be “virtual,” must all be “instance.”

Implementation programs are for desktops, servers, mobile devices, and game consoles. Computer vision enhancement programs and low-level virtual machine toolkits are also developed from common language infrastructure–compliant languages. The common language infrastructure runtimes allocate system resources and call peripheral devices efficiently, though they are platform independent.

Share
EasyTechJunkie is dedicated to providing accurate and trustworthy information. We carefully select reputable sources and employ a rigorous fact-checking process to maintain the highest standards. To learn more about our commitment to accuracy, read our editorial process.
Link to Sources
Discussion Comments
Share
https://www.easytechjunkie.com/what-is-the-common-language-infrastructure.htm
Copy this link
EasyTechJunkie, in your inbox

Our latest articles, guides, and more, delivered daily.

EasyTechJunkie, in your inbox

Our latest articles, guides, and more, delivered daily.