how kodi works

How do computer languages work?

how kodi works? We talked about how the programs work. At the end of each program, your computer must run commands in the machine language as a byte stream. However, human senses do not agree with machine language; This situation has rarely occurred, even among hackers has become witchcraft.

Virtually all Unix codes exclude a small amount of direct hardware interface support in the kernel, nowadays written in high-level languages (the ' High-level ' term is actually a thin winding around the machine code, ' low It is a historical relic that means distinguishing from the language of the level ' assembler.)

There are different, diverse types of high-level languages. To mention these, you will understand that a program's source code would be useful to keep in mind that machine codes that the machine can actually run are in a variety of ways.


Compiled languages


The most traditional language type is: a compiled language. Compiled languages are converted to executable files of binary machine code by a custom program called the compiler (logically enough). Once binary code is generated, you can run it directly, regardless of source code. (many software is delivered as compiled binary code generated from the code you don't see.)

Compiled languages tend to demonstrate flawless performance and full access to the operating system. But programming is also difficult.

C, the language in which Unix is written, is an important part of the languages (with the variant C++) leading to an open margin. Fortran is another compiled language that is still used by engineers and scientists, but is old and primitive. In the Unix world, there are no other compiled languages that are used according to the main view. Furthermore, COBOL is widely used in financial and business software.


Many other languages have been used, but most of them are either extinct or are literally research tools. If you are a new Unix developer who uses a compiled language, that language is very likely to be C or C++.


Commented languages


Interpreted languages are linked to an interpreter program that reads source code and converts it to calculations and system calls instantly (on the fly). The reinterpretation (and the existing interpreter) is imperative in each time the source code executes.

Interpreted languages tend to be slower than the compiled language, and often have limited access to the lower part of the operating system and hardware. On the other hand, it tends to be simple and is more forgiving in code defects than in compiled languages.


Many Unix services including Shell, BC (1), sed (1) and awk (1); Active, small-language languages. Basicler are generally interpreted languages. Like Tcl. According to history, the most important interpreter language is the Lisp (greater development than most of its heirs). Today, Unix shells and Lisp in the Emacs regulator are probably the most important, pure, interpreted languages.


P-Code languages


Since 1990, a kind of hybrid language that uses compilation and interpretation has become increasingly important. P-code languages resemble languages that are compiled in terms of converting a resource to a compressed binary code that you are actually executing but not machine language. Instead it is usually simpler than the actual machine language but has more powerful pseudo-code (or P-code). When you execute the program, you interpret the P-code.


P-code can run as fast as an almost-compiled binary code (p-code interpreters are simpler, smaller, and faster). However, p-code languages can have the flexibility and power of a good interpreter.

The leading P-code languages are Python, Perl, and Java.


Note: This page has been translated. Could be a word error. Please consult your specialist

Recommended Article