The Rust Programming Language
- Rust helps us write faster, more reliable software
- Rust gives us the option to control low-level details (ex. memory usage) without hard control
- For Who
- Teams of Developers
- Productive tool for collaborating among systems programming developers
- Compiler plays a gatekeeper role by refusing to compile code with these elusive bugs
(ex. concurrency bugs)
-> the team can spend their time focusing on the program's logic rather than chasing down bugs
- Contemporary developer tool
- Cargo: dependency manager, build tool
- Rustfmt: ensures a consistent coding style
- Rust Language Server: IDE for powering code auto completing, inline error messages
- Students
- Interested in learning about system concepts
- Using Rust for topics such as Operating Systems development
- Companies
- In production
- Command line tools, web services, DevOps tooling, embedded devices,
audio/video analysis & transcoding, cryptocurrencies, bioinformatics, search engines,
IoT applications, ML, parts of Firefox web browser, etc.
- Opern Source Developers
- People who value speed and stability
- Speed: how quickly Rust code can run & Rust lets us write programs more quickly
- Stability: Rust compiler checks ensure stability through feature additions and refactoring
- Zero-cost abstractions,
higher-level features that compile to lower-level code as fast as code written manually
- safe & fast code
- make an effort for eliminating the trade-offs: safety - productivity & speed - ergonomics
- How to use this book (docs)
- the important part of the process is learning how to read the error mesages the compiler displays
- Concurrent vs. Simultaneous
- Concurrent (CPU 1), Simultaneous (CPU multiple)
- Source Code: https://github.com/rust-lang/book/tree/main/second-edition/src
'Personal-Study > Rust' 카테고리의 다른 글
[Rust 문서 읽기] 4. Understanding Ownership (소유권 이해하기) (0) | 2023.01.29 |
---|---|
[Rust 문서 읽기] 3. Common Programming Concepts (보편적인 프로그래밍 개념) (0) | 2023.01.29 |
[Rust 문서 읽기] 2. Programming a Guessing Game (추리 게임 튜토리얼) (0) | 2023.01.29 |
[Rust 문서 읽기] 1. Getting Started (시작하기) (0) | 2023.01.28 |
[Rust 문서 읽기] Foreword (들어가기에 앞서) (0) | 2023.01.28 |
댓글