Skip to content

Commit

Permalink
builds_a_task_scheduler: add more contexts on Alan
Browse files Browse the repository at this point in the history
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
  • Loading branch information
gyuho committed May 25, 2021
1 parent 7c68699 commit a6463e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/vision/status_quo/alan_builds_a_task_scheduler.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ A core component of [`DistriData`][distridata], called `TaskScheduler`, is in ch

`TaskScheduler` was originally implemented in Go. New to Rust, [Alan][] believes Rust could provide the same quality of service but with less memory. Then decides to reimplement `TaskScheduler` in Rust, without knowing the challenges ahead.

Alan only read the first few chapters of [Rust book](https://doc.rust-lang.org/nightly/book/title-page.html) to understand the core concepts like basic ownership concepts and Rust syntax. Already proficient in Go, Alan jumped into the coding by working through a hands-on project. Alan often referred to the examples found in each Rust crate but may lack deep understanding of how Rust works. Alan first focused on translating the Go code to Rust and as a result, the first iteration may be filled with non-idiomatic Rust code.

### **Implementing request ID generator**

Alan first transliterates request ID generator code, originally written in Go:
Expand Down

0 comments on commit a6463e3

Please sign in to comment.