- Rust Essentials(Second Edition)
- Ivo Balbaert
- 208字
- 2021-07-02 15:30:35
Where to use Rust
It is clear from the previous sections that Rust can be used in projects that would normally use C or C++. Indeed, many regard Rust as a successor to, or a replacement for, C/C++. Although Rust is designed to be a systems language, due to its richness of constructs, it has a broad range of possible applications, making it an ideal candidate for applications that fall into one or all of the following categories:
- Client applications, like browsers
- Low-latency, high-performance systems, like device drivers, games and signal processing
- Highly distributed and concurrent systems, like server applications and microservices
- Real-time and critical systems, like operating systems or kernels
- Embedded systems (requiring a very minimal runtime footprint) or resource-constrained environments, like Raspberry Pi and Arduino, or robotics
- Tools or services that can't support the long warmup delays common in just-in-time (JIT) compiler systems and need instantaneous startup
- Web frameworks
- Large-scale, high-performance, resource intensive, and complex software systems
Rust is especially suitable when code quality is important, that is, for the following:
- Modestly-sized or larger development teams
- Code for long-running production use
- Code with a longer lifetime that requires regular maintenance and refactoring
- Code for which you would normally write a lot of unit tests to safeguard
推薦閱讀
- Mastering OpenCV Android Application Programming
- Java完全自學(xué)教程
- Hands-On Image Processing with Python
- 體驗(yàn)設(shè)計(jì)原理:行為、情感和細(xì)節(jié)
- Flink SQL與DataStream入門、進(jìn)階與實(shí)戰(zhàn)
- Learn Swift by Building Applications
- The DevOps 2.5 Toolkit
- 零基礎(chǔ)趣學(xué)C語(yǔ)言
- IBM Cognos Business Intelligence 10.1 Dashboarding cookbook
- GameMaker Essentials
- Beginning C++ Game Programming
- .NET Standard 2.0 Cookbook
- C++ System Programming Cookbook
- 零基礎(chǔ)學(xué)HTML+CSS第2版
- RESTful Web API Design with Node.js