当前位置:网站首页>Why did I choose rust
Why did I choose rust
2022-06-22 06:29:00 【phial03】
1、 performance 、 Security 、 Stable :
Performance is beyond doubt , Than Python and Golang fast , Go straight after C/C++; Security , Memory security mechanism , Reduce memory Bug( Microsoft once said 70% Of Bugs, From memory abuse ); Stable , There will never be 2.0 edition , And there are Mozilla Organization endorsement , Supported by the Institute of software, Chinese Academy of Sciences .
2、 Steep learning curve :
Than Python、Golang difficult ,“ difficult ” It means that it is difficult to replace . At least C++ Simple .
3、 Cross platform :
And C++ equally , It can penetrate into all ecosystems , Such as Windows、Linux、MacOS、iOS and Android etc. .
4、 Covering a variety of applications :
desktop / Move App、 game 、 The embedded 、WASM and Web Back end, etc , Be familiar with the development scenarios of different applications .
5、 Improve development capability :
No garbage collection period , At the core of ownership and declaration cycle , With Rust The compiler is the teacher , Gradually improve the programming and development ability .
6、 Facing the future :
Rust It is the most popular development language in foreign countries , Many companies are paying more and more attention to Rust The ability of . But until 2021,Rust The development in China is still very slow . Rust From bottom to top , From community to public opinion , It is already a very mature language . This is the starting point of the trend , Believe in the future 3-5 year ,Rust Will become very popular .
7、 traces :
Tsinghua University has opened 《 operating system RISC-V》 The practical course of , Many top students have begun to learn Rust, Open source community college summer activities ,Rust Number of language programming applicants , Already exceeded PHP; Google Fuchsia OS The amount of code , If you remove JSON, that Rust The proportion of will be 50%; Microsoft official website Rust The tutorial has been updated in three versions , Explain that its developers have been following up Rust The development of ; Facebook Blockchain technology of Libra With Rust As a development language ; Zig The official website refutes Rust Blog post , Those authors are now writing in the form of Rust As the main language , Have not given up using Rust; 2021 In the first half of the year Rust There are very few jobs available , But by the fourth quarter , Recruitment information on major websites has been overwhelming . All kinds of clues , Stated Rust It has developed much faster than we thought .
8、 Compared with other modern languages :
Other modern languages such as Golang、Dart、Julia、Scala、Groovy、Swift、Kotlin. These languages are compared to Rust, Are more specialized in a certain field .
- Golang With its high concurrency , stay Web The back-end and operation and maintenance fields are developing rapidly . But many technical giants have mentioned ,Golang Suitable for rapid deployment and lightweight software , Not suitable for large projects , Because maintenance is very difficult .
- Dart At present only Flutter Be brilliant , Initially in place of JavaScript, Reality is being pressed on the ground and rubbed relentlessly .
- Julia Focus on Data Science , Superior in performance to Python.
- Scala、Groovy and Kotlin, All three are related to Java Are inseparable , To run on JVM above . although Java The optimization of has been done well , But I have been exposed to a lot Java Software , It doesn't feel smooth to use . Or it takes up a large amount of memory , or CPU Higher , Compare hardware .
- Swift It is the main language for Apple application development , But its ecological environment is far inferior to Object-C, Performance is better than C/C++、Rust Far less than , Even in Web The back end is worse than Java and Golang.
边栏推荐
猜你喜欢

用蒙特卡洛法求圆周率pi

SQL 注入漏洞(十三)base64注入
![[PHP]TP6 CLI模式下创建tp6和多应用配置以及常见问题](/img/19/0a3319b04fe6449c90ade6f27fca4a.png)
[PHP]TP6 CLI模式下创建tp6和多应用配置以及常见问题
![[NAND file system] UBI introduction](/img/69/7213b8b39cebc1626eb6bb8cc10d16.png)
[NAND file system] UBI introduction

BlockingQueue four sets of APIs

C skill tree evaluation - customer first, making excellent products

【NAND文件系统】UBI介绍

Record of problems caused by WPS document directory update

New GDI functions and functions introduced in MiniGUl version 1.1.0 (II)

e.hash & oldCap == 0 详细解读
随机推荐
WPS文档目录更新产生的问题记录
The difference between drop, truncate and delete
Armadillo installation
KV260的PMOD接口介绍
【5G NR】RRC连接重建解析
Vulnérabilité à l'injection SQL (XIII) injection base64
【OpenAirInterface5g】高层模块接口及itti实体线程创建
反射操作注解
[openairinterface5g] high level module interface and ITTI entity thread creation
Reflection operation annotation
ERROR: cannot verify nih.at’s certificate, issued by “/C=US/O=Let‘s Encrypt/CN=R3”,wget报错
【OpenAirInterface5g】ITTI消息收发机制
878. the nth magic number math + two points
-Bash: telnet: command not found solution
【TP6】使用workerman websocket
Idea run scope locally
Inserting a classdiagram into markdown
ForkJoinPool
[NAND file system] Introduction to UBIFS
东郊到家开发技术服务