当前位置:网站首页>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
边栏推荐
- Hb5470 combustion test of non-metallic materials in civil aircraft cabin
- Debug H5 page -vconsole
- 网络安全问题
- Iso16000-9 testing of volatile organic compounds in building products and furniture
- Verilog reduction operator
- 微信小程序跳转公众号图文内容
- 数据处理时代,数据质量建设才是企业的生存之道
- 【To .NET】C#数据模型,从Entity Framework Core到LINQ
- Share code snippets of wechat applet
- Summary of IO streams
猜你喜欢

使用GPU训练kernel切换

Unity C # e-learning (12) -- protobuf generation protocol

Summary of IO streams

How is epoll encapsulated in golang?

Wechat applet determines the file format of URL

微信小程序分享页面,分享到朋友圈

Augfpn: improved multiscale feature learning for target detection

Uni app gets the route URL of the current page

DevOps到底是什么意思?

pytorch总结学习系列-操作
随机推荐
pytorch学习总结—运算的内存开销
YOLO Nano:一种高度紧凑的只看一次的卷积神经网络用于目标检测
What is hyperfusion? What is the difference with traditional architecture
SSD Improvement cfenet
深入RC、RS、DaemonSet、StatefulSet(七)
Iso16000-9 testing of volatile organic compounds in building products and furniture
网络安全问题
微信小程序判断url的文件格式
Verilog expression
Wechat applet sub components transfer values to the page (communication between parent and child components) with source code
Wechat applet sharing page, sharing to the circle of friends
基于区域注意的通用目标检测
Debugging H5 page -weinre and spy debugger real machine debugging
ThinkPHP 6 uses mongodb
笔试题“将版本号从大到小排列”
Modify EXIF information
Member inner class, static inner class, local inner class
Twinmotion beginner tutorial
LFFD:一种用于边缘检测的轻量化快速人脸检测器
Pat (basic level) practice (Chinese) 1003 I want to pass! (20 points) C language implementation