当前位置:网站首页>programing language
programing language
2022-06-29 09:22:00 【amateur12】
The development of programming language
1. Machine oriented machine language ( Low level language )
2. Machine oriented assembly language ( Low level language )
3. Process oriented high-level language
4. Object oriented high level language
Low level language and High-level language
Low level language :
machine language :
Computer hardware can only recognize “ To break off ” and “ closed ” Two physical states , That is to say 0 and 1. Using machine instructions is the most efficient , Because there is no need to translate the instructions . But machine language is not human friendly , A large string 0 and 1, It's hard to recognize and remember , And easy to make mistakes , But for machines , Seconds understand
assembly language :
Assembly language uses mnemonics that are easy for human to remember and recognize to represent 0 and 1 Instructions , Also known as symbolic language
such as AND For addition
High-level language :
Use characters that are easy to recognize and remember as keywords , It is also closer to the human way of thinking , Easy to write, easy to read and write , More efficient development
High level languages are portable , Make small or no changes , You can run the code on computers of different platforms .
summary :
The lower a language is, the more machine friendly it is , The more consistent with the way of thinking of the machine , Therefore, the implementation efficiency is high .
The more advanced the language is, the more friendly it is to human beings , The more consistent with the human way of thinking , Therefore, the development efficiency is high .
The following are all for high-level languages :
Compiler language and Explanatory language
Compiler language :
Call a pre - made one “ compiler ” The machine language program of is installed in the computer , When a high-level language program needs to be executed , The compiler puts the whole “ High level language source program ” Translate into “ The object program of machine language ”
Explanatory language :
After the high-level language enters the computer , The interpreter scans and interprets , Input sentence by sentence, translate sentence by sentence , The computer executes line by line , Does not produce the target program
Java
Dynamic type language and Static type language
Dynamic type language :
Do data type checking only during runtime
flexible , Fast development speed , studies of the Book of Changes , But you can't immediately give an error and further optimize the code
Python、Ruby、Erlang、JavaScript、swift、PHP、Perl
Static type language :When you write code, make sure the data type of the variable
C、C++、C#、Java、Object-C、Go
Strong type language and Weak type language
Strong type language :
Mandatory type definition
Types are more secure
Python,Java
Weak type language :
Can treat one data type as another , That is, data types can be converted at any time , flexible
Everything is subject to running , How is it convenient
边栏推荐
- UE4 插件报错 Cannot open include file: ‘ModuleManager.h‘解决
- 实例报错IOPub data rate exceeded
- keras转tf.keras中VGG19 input_shape
- 数据处理时代,数据质量建设才是企业的生存之道
- Verilog splicing operation symbol
- What exactly does Devops mean?
- Mongodb persistence
- Training view (issue temporary storage)
- Macros, functions, and inline functions
- UE4 去掉材质中Mask透明白边
猜你喜欢
随机推荐
Training kernel switching using GPU
NPM common commands
微信小程序自定义多项选择器
ThinkPHP 6 uses mongodb
Recursive RBAC menu level display infinite classification
General multiplier design, verilog code
[to.Net] C data model, from Entity Framework core to LINQ
微信小程序分享页面,分享到朋友圈
SSD Improvement cfenet
YOLO Nano:一种高度紧凑的只看一次的卷积神经网络用于目标检测
keras转tf.keras中VGG19 input_shape
pytorch总结学习系列-操作
Hb5470 combustion test of non-metallic materials in civil aircraft cabin
Detecting and counting tiny faces
Training view (issue temporary storage)
Uniapp wechat applet reports an error typeerror: cannot read property 'call' of undefined
UE4 去掉材质中Mask透明白边
Augfpn: improved multiscale feature learning for target detection
AugFPN:改进多尺度特征学习用于目标检测
JS to obtain basic information about the width and height of an image or Base64








