課程簡介
# Day 1
- Introduction
- Installation
- rustup
- cargo, rustc
- crates.io
- create a first project
- creating a library or executable
- Cargo.toml
- Cargo.lock
- exploring the source
- cargo tools
- hello world program
- Basic syntax
- functions
- variables
- types
- structs and enums
- control flow: if, loops, pattern matching
- exercise: the guessing game
- Ownership
- moves
- mutability
- borrowing
- lifetimes
- exercise: fixing borrow checker compilation errors
- Modules
- importing code
- visibility
- source code organisation
- Traits and generics
- methods
- generic types, functions and methods
- type aliases
- Standard library
- Option
- Result
- collections: Vec, HashMap
- iterators
- exercise: start building a small in memory database
# Day 2
- Tools
- importing crates
- unit tests
- benchmarks
- fuzzing
- documentation
- attributes
- exercise: integrate unit tests, CI and other tools for the database example
- Strings and slices
- String
- &str
- &[u8]
- Iterators
- Closures
- exercise: start implementing queries
- Destructuring
- if let
- API design
- Usual traits
- Clone and Copy
- Debug and Display
- PartialEq, Eq
- Drop
- Static VS dynamic dispatch
- Associated types
- Deref
- Into
- I/O
- exercise: add optional file storage for the database
- Concurrency
- threads
- channels
- Send, Sync
- mutability
- Arc, Mutex
- exercise: multiple clients querying the database while storing regularly
# Day 3
- FFI
- repr(C)
- exporting functions and structures
- unsafe
- Box
- rusty-cheddar and rust-bindgen
- linking
- cargo-vendor
- exercise: making a C interface for our in memory database
- common libraries and interfaces (adaptable depending on what the students want to focus on)
- docs.rs
- Command
- clap
- serde
- log
- tokio
- rocket
- lazy_static
- nom
客戶評論 (4)
培訓師的知識非常高,參與對話和知識轉移是巨大的。與參與者保持良好的聯繫。精心準備的材料,很多幻燈片,練習的描述,你可以看到很多培訓的準備工作,儘管我的評論我仍然對培訓有很好的評價。我的評論只是對培訓的補充,培訓的水準非常好。在我看來,有了來自C#領域的參與者並進行了更正,培訓可以達到理想的水準;-)
Sławek - Sonova Warsaw Service Center Sp z o o
Course - Rust Programming
機器翻譯
我喜歡我們製作的互動式示例,培訓師對我們提出的問題幾乎每個主題都非常瞭解,並就與培訓中某些材料相關的實際用例提供了出色的建議。
Tracy - GenesysGo
Course - Rust Advanced
機器翻譯
在“現實生活”的例子中展示了大量的實踐知識。
Kamil - Streamsoft Kraków
Course - Java Advanced
機器翻譯
定期推送更改,因為在第 3 天我開始比以前更迷茫,並且更難快速發現錯誤,我能夠快速查看最新的更改並及時瞭解材料
Paulina
Course - Advanced Java Security
機器翻譯