Difference between interpreted and compiles language

broken image
broken image
broken image

Compiled LanguagesĪ compiled language is a programming language that is typically implemented using compilers rather than interpreters. This is a standard process present in all of Java’s popular implementations. Java can be a good example of such a language as Java’s source code is compiled to an intermediate representation called bytecode and interpreted by Java’s interpreter that is a part of Java Virtual Machine (JVM). In fact, there are many programming languages that have been implemented using both compilers and interpreters. One of the main things we have to understand is that a programming language itself is neither compiled nor interpreted, but the implementation of a programming language is. The main goal of both compilation and interpretation is to transform the human-readable source code into machine code that can be executed directly by a CPU, but there are some caveats to it. One of the common although not ideal ways to differentiate them is to split them into 2 groups compiled and interpreted languages. When it comes to code compilation and execution, not all programming languages follow the same approach.

broken image