Interpreter: An interpreter translates the source code line for line and executes it directly.This machine code is saved in the form of an executable file. ![]() Compiler: This application type translates (compiles) the source code into a code that the process understands and can execute.This assistance application can be in either the form of a compiler or an interpreter: Compiler & Interpreterįor the computer to be able to further process the source code written by the programmer, there needs to be a translation between the two – this occurs in the form of an additional program. Some of the most popular programming languages are:įor the computer to understand these languages, however, they need to first be translated into machine code. It’s impossible to say for certain which are better or worse, as it depends on the context of the project and the application for which the source code is used. There are hundreds of different programming languages. So, just like a foreign language, one must learn at least one of the various programming languages before being able to program, etc. While computers only work with number values, humans communicate with words. In context, “human-readable” is understood as the counterpart to the term “ machine-readable”. This may sound strange at first since source code could also look like confused gibberish to a layman. While commands were created in this way in the early days of computer technology, we have long since switched to writing applications in a human-readable programming language. A sequence of bits instructs the computer as to what it should do. ![]() Computers - regardless of whether it’s a home PC, modern smartphone, or scientific computer - work in the binary system: on/off, loaded/not loaded, 1/0.
0 Comments
Leave a Reply. |