Native Compiler

What Does Native Compiler Mean?

A native compiler is a compiler that works on compilation for the same technology on which it runs. It uses the same operating system or platform as the software for which it is assembling machine language.


Developers may recommend different native compiler options for different use cases involving languages like Java and C+. In evaluating a project, programmers might believe that the only benefit of using a native compiler is to prevent reverse engineering or for better code security. Other times, native compilers can have an impact on user experience because code can load more quickly. Within the IT community, professionals often ask one another about whether a native compiler is a good idea, and which specific native compiler options may be best for a development project.

Techopedia Explains Native Compiler

One way to understand a native compiler is by contrasting it with a cross compiler, which may compile code for programs running on different platforms. One use of cross compilers is in compiling programs for different hardware devices that may have their own respective platforms. In some cases, using a native compiler can provide significant benefits.

Common benefits of native compilation in some programming languages include better execution or load speed, as well as better inherent security. However, native compiler strategies do limit deployment to a single platform, which may be a drawback in some cases.


Related Terms

Latest Software Development Terms

Related Reading

Margaret Rouse

Margaret Rouse is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical, business audience. Over the past twenty years her explanations have appeared on TechTarget websites and she's been cited as an authority in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine and Discovery Magazine.Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages. If you have a suggestion for a new definition or how to improve a technical explanation, please email Margaret or contact her…