- 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
推薦閱讀
- 大學計算機應用基礎實踐教程
- MongoDB for Java Developers
- 網頁設計與制作教程(HTML+CSS+JavaScript)(第2版)
- Android底層接口與驅動開發技術詳解
- iOS開發實戰:從入門到上架App Store(第2版) (移動開發叢書)
- HTML5與CSS3基礎教程(第8版)
- 現代C++編程實戰:132個核心技巧示例(原書第2版)
- PHP編程基礎與實踐教程
- 快速入門與進階:Creo 4·0全實例精講
- Swift語言實戰晉級
- 深入大型數據集:并行與分布化Python代碼
- C語言程序設計實驗指導
- C語言程序設計
- 現代JavaScript編程:經典范例與實踐技巧
- 編程風格:程序設計與系統構建的藝術(原書第2版)