Programming languages
Programming language is a set of well defined instructions that can be used to create a specific functionality.
For example a programming language can be used to create a video game.
A programming language can be created to create functionality of a self driving car.
Programming languages differ by their use and whether they are compiled or interpreted.
Compilation process means taking of taking human readable code and turn it to the code that can be easily be used by a computer. For example c++ is a compiled language. Example of interpreted language is Python.
There are advantages and disadvantages to both approaches.
A compiled code is fast, however it can only be running in one hardware or operating system environment.
Interpreted code is slower, because it relies on the interpreter environment to execute the code.
For example C is a compiled programming language.
Python on other hand is the interpreted programming language.
Compiled languages are used where performance of code is needed. For example video games are written in a compiled programming language.
Interpreter programming languages are slower, because the execution of the code that had been written relies on the interpreter code.
For example Python programming language is the example of interpreted programming language. The advantage of the interpreted code that it can be running with little or no modification in different operating systems. For example Python code that can be designed to run in Linux operating system, will also run in Windows OS with little or no modifications.
Microsoft had developed their .Net framework so the code compiled into intermediate code that relies on presence of .Net framework. Such programs are slower then compiled code, but they are faster then interpreted code. The advantage of having programs developed using.Net framework is that such programs are not tied to a specific OS platform.
Comments
Post a Comment