search
HomeCommon ProblemThe development of programming languages ​​has gone through three stages

The development of programming languages ​​has gone through three stages

As shown in the figure, the development of computer languages ​​is mainly divided into three stages.

The development of programming languages ​​has gone through three stages

1. Machine language (Recommended learning: web front-end video tutorial)

The first generation of computer language is called machine language. Machine language is 0/1 code. Computers can only recognize 0 and 1. Inside the computer, whether it is a movie, a song, or a picture, what is ultimately saved is 0/1 code, because the CPU can only execute 0/1 code. So does this mean that we must use 0/1 code when programming?

It is definitely possible to write like this at first, but it is too troublesome and difficult to understand, so later assembly language appeared.

2. Assembly language

Assembly language is to convert a string of boring machine language into an English word. For example:

add 1, 2;

add is an English word, so it seems to have a little meaning, that is, the addition of 1 and 2. This is assembly language.

If written directly in machine language, this is almost impossible to achieve. Because it is too difficult to remember in machine language, and no one can understand it. So later a second language was designed, which translated the 0/1 code into English words. These English words directly corresponded to a series of 0/1 instructions. This is assembly language.

Through specialized software, these English words can be converted into 0/1 code and executed by the computer. This software that specializes in translation is called a compiler.

The correspondence between these English words and their corresponding 0/1 codes, as well as the grammar of the language, were already written in when writing this software. We can convert these into 0/1 code simply through the compiler. This greatly facilitates our programming.

3. High-level language

After assembly language, the third generation language appeared. The third generation language is also called "high-level language". The development of high-level languages ​​is divided into two stages, with 1980 as the dividing line. The former stage belongs to structured languages ​​or process-oriented languages, and the latter stage belongs to object-oriented languages.

What is process-oriented and what is object-oriented? This is a difficult question to explain, so don’t think about it now. You won't be able to understand it until you finish learning C language, C, Java or C# in the future. Because this requires comparison.

In short, the most classic and important process-oriented language is C language. Fortran, Basic, and Pascal are largely unused languages. But C language has always been used, because C language is the most important language in the computer field. But C language also has flaws, and its flaws can only be realized after learning an object-oriented language.

So since the 1980s, another "object-oriented" language has been produced, the most important and complex of which is C. C has upgraded the C language in terms of ease of use and security. C is a more complex and difficult language to learn, but very useful once learned.

Because C was too complex, C was later modified, resulting in two languages, one is Java and the other is C#.

The Java language is one of the most popular languages ​​today. C# is a language similar to Java's syntax written by Microsoft in response to the popularity of Java. Since Java and C# are almost identical, you only need to learn one of the languages.

The above is the detailed content of The development of programming languages ​​has gone through three stages. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.