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 a Compiled Language?

By Jerry Morrison
Updated: May 17, 2024

A compiled language is a computer programming language whose source code is typically compiled, or translated into machine code, to produce an executable program. Compilers are utility programs made to translate a specific implementation of a programming language into an executable binary file that is designed to run under a certain operating system. This stand-alone executable file can be run on any compatible platform without assistance from another program and without the need to be recompiled. Some common compiled languages are Ada, C++ and Fortran.

Computer programs can also be written in an interpreted language or a scripting language. The decision to implement a project in a compiled language is usually related to the far greater execution speed of its programs. Increased speed is seen to offset what is generally a more complex development and maintenance process. Operating systems and utilities that need direct access to hardware often require the efficiency of a compiled language.

Interpreted languages must be analyzed, translated and executed by an interpreter utility each time the program is run. If the interpreter is not resident on a computer, then the program cannot be executed. In a compiled language, this time consuming analysis and translation is carried out once at compile time and the executable needs no utility program to run. When speed or the need for low-level hardware access is not a factor, the relative ease with which an interpreted program can be implemented might make it an attractive option.

Scripting languages are often implemented to give users greater control over compiled language programs or to provide additional functionality. This type of language must be interpreted at runtime, as well. The most familiar use of scripting language is on Internet web pages, where the browser acts as the script interpreter. Such languages have existed since the time of early mainframe computers, however, to automate simple processes.

When developing a software project there are often choices to be made between the efficient use of computer resources and the cost of development time. This can lead to a mix of compiled language and interpreted or scripting language within a particular project. Time and resource critical elements of a program are usually best coded in a compiled language. Interfaces and elements with fewer resource requirements might be more economically developed in an interpreted language. Even elements that will eventually be implemented in a compiled language might be more cost-effectively prototyped as an interpreted language program.

WiseGeek 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.
Discussion Comments
Share
WiseGeek, in your inbox

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

WiseGeek, in your inbox

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