- Rust Programming Cookbook
- Claus Matzinger
- 166字
- 2021-06-24 12:27:40
Starting Off with Rust
The Rust ecosystem has grown considerably over the last year, and the 2018 edition, in particular, brought a significant push toward stabilization. The tooling is developing and important libraries are maturing to a point where many bigger companies use Rust in production.
One of the features of Rust is a steep learning curve—which is mostly due to a fundamental change in how to think about memory allocation. It is not uncommon for experienced programmers in other languages (such as C#) to feel overwhelmed with the way things are done in Rust. In this chapter, we will try to overcome this and lower the bar to get started!
In this chapter, we will cover the following recipes:
- Getting everything ready
- Working with the command line I/O
- Creating and using data types
- Controlling execution flow
- Splitting your code with crates and modules
- Writing tests and benchmarks
- Documenting your code
- Testing your documentation
- Sharing code among types
- Sequence types in Rust
- Debugging Rust
推薦閱讀
- Monkey Game Development:Beginner's Guide
- Vue.js快速入門與深入實(shí)戰(zhàn)
- TypeScript圖形渲染實(shí)戰(zhàn):基于WebGL的3D架構(gòu)與實(shí)現(xiàn)
- Backbone.js Blueprints
- 組態(tài)軟件技術(shù)與應(yīng)用
- .NET 3.5編程
- OpenResty完全開(kāi)發(fā)指南:構(gòu)建百萬(wàn)級(jí)別并發(fā)的Web應(yīng)用
- Kotlin開(kāi)發(fā)教程(全2冊(cè))
- Unity 3D腳本編程:使用C#語(yǔ)言開(kāi)發(fā)跨平臺(tái)游戲
- Java Web從入門到精通(第3版)
- Zabbix Performance Tuning
- TypeScript圖形渲染實(shí)戰(zhàn):2D架構(gòu)設(shè)計(jì)與實(shí)現(xiàn)
- Java Web開(kāi)發(fā)基礎(chǔ)與案例教程
- Getting Started with JUCE
- Python深度學(xué)習(xí)(第2版)