You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-26 18:51:00 +02:00
Generalize the day-4 afternoon (#487)
* Generalize the day-4 afternoon This is in preparation for adding more options for this portion of the course, and reflects an existing practice of substituting other materials for this last half-day. * address review comments
This commit is contained in:
committed by
GitHub
parent
ff66258c50
commit
bfed596d28
@ -7,11 +7,7 @@ The course is fast paced and covers a lot of ground:
|
||||
* Day 1: Basic Rust, ownership and the borrow checker.
|
||||
* Day 2: Compound data types, pattern matching, the standard library.
|
||||
* Day 3: Traits and generics, error handling, testing, unsafe Rust.
|
||||
* Day 4: Concurrency in Rust and interoperability with other languages
|
||||
|
||||
> **Exercise for Day 4:** Do you interface with some C/C++ code in your project
|
||||
> which we could attempt to move to Rust? The fewer dependencies the better.
|
||||
> Parsing code would be ideal.
|
||||
* Day 4: Concurrency in Rust and seeing Rust in action.
|
||||
|
||||
## Format
|
||||
|
||||
|
27
src/running-the-course/day-4.md
Normal file
27
src/running-the-course/day-4.md
Normal file
@ -0,0 +1,27 @@
|
||||
# Day 4
|
||||
|
||||
> This page is for the course instructor.
|
||||
|
||||
The afternoon of the fourth day should cover a topic of your choice. Include
|
||||
the topic in the announcement of the course, so that participants know what to
|
||||
expect.
|
||||
|
||||
This phase of the course is a chance for participants to see Rust in action on a
|
||||
codebase they might be familiar with. You can choose from the topics already
|
||||
defined here, or plan your own.
|
||||
|
||||
Some topics need additional preparation:
|
||||
|
||||
## Android
|
||||
|
||||
If you chose Android for Day 4 afternoon, you will need an [AOSP checkout][1].
|
||||
Make a checkout of the [course repository][2] on the same machine and move the
|
||||
`src/android/` directory into the root of your AOSP checkout. This will ensure
|
||||
that the Android build system sees the `Android.bp` files in `src/android/`.
|
||||
|
||||
Ensure that `adb sync` works with your emulator or real device and pre-build
|
||||
all Android examples using `src/android/build_all.sh`. Read the script to see
|
||||
the commands it runs and make sure they work when you run them by hand.
|
||||
|
||||
[1]: https://source.android.com/docs/setup/download/downloading
|
||||
[2]: https://github.com/google/comprehensive-rust
|
Reference in New Issue
Block a user