Computer languages are divided into high-level languages and low-level languages. High-level language is mainly relative to assembly language. It is programming that is closer to natural language and mathematical formulas. It is basically separated from the hardware system of the machine and writes programs in a way that is easier for people to understand. The program written is called the source program.
High-level language does not refer to a specific language, but includes many programming languages, such as the popular java, c, c, C#, pascal, python, lisp, prolog, FoxPro, Yi Language, Chinese version of C language, etc. The syntax and command format of these languages are different.
Low-level language is divided into machine language (binary language) and assembly language (symbolic language), both of which are machine-oriented languages, and The instruction set of the specific machine is closely related. Machine languages use instruction codes to write programs, while symbolic languages use instruction mnemonics to write programs.
High-level language has nothing to do with the computer's hardware structure and instruction system. It has stronger expression ability, can easily express data operations and program control structures, and can better describe Various algorithms and easy to learn and master. However, the program code generated by high-level language compilation is generally longer than the program code designed in assembly language, and the execution speed is also slower. Therefore, assembly language is suitable for writing programs that require high speed and code length and programs that directly control hardware. High-level languages, assembly language, and machine language are all languages used for writing computer programs.
High-level language programs "cannot see" the hardware structure of the machine and cannot be used to write system software or device control software that directly accesses the machine's hardware resources. To this end, some high-level languages provide calling interfaces with assembly language. A program written in assembly language can be used as an external procedure or function in a high-level language, using the stack to pass parameters or the address of parameters.
The abstraction of programming language from machine language to high-level language, The main benefits are:
High-level language is close to algorithm language, easy to learn and master, general engineering Technical personnel can be competent as programmers after only a few weeks of training;
High-level languages provide programmers with a structured programming environment and tools, making the designed programs readable and maintainable Strong flexibility and high reliability;
High-level languages are far away from machine languages and have little to do with specific computer hardware, so the programs written have good portability and high reuse rate;
Because The complicated and trivial matters are handed over to the compiler, so the degree of automation is high, the development cycle is short, and programmers are relieved and can concentrate their time and energy on creative work that is more important to them to improve the efficiency of the program. quality.
The above is the detailed content of What is a high-level language?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

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.

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.

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment