본문 바로가기
Personal-Study/Rust

[Rust 문서 읽기] Introduction (소개)

by Aaron-Kim 2023. 1. 28.

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


Introduction (영어)

소개 (한국어)

반응형

댓글