search
HomeCommon ProblemWhat is currently used to write computer programs?

Currently, high-level languages ​​are generally used to write computer programs. High-level languages ​​are mainly relative to assembly languages. It is programming that is closer to natural language and mathematical formulas and is basically separated from the hardware system of the machine. Programs are written in a way that is easier for people to understand, and the programs written are called source programs.

What is currently used to write computer programs?

#Currently, high-level languages ​​are generally used to write computer programs.

High-level programming language is a machine-independent, process- or object-oriented language. A high-level language is a language designed with reference to mathematical language that approximates daily conversation. For example, to add two variables and assign them to a third variable, the high-level language expression is var3=var1 var2.

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.

Recommended: "Programming Video"

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., have different syntax and command formats.

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, can better describe various algorithms, and is easy to Learn to 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 to write 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 above is the detailed content of What is currently used to write computer programs?. 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

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot 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.

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version