Better HN
topnewbestaskshowjobs
Log inSign up

sevenpeas

1 karma · joined Sep 22, 2023 (3y ago) · 1 submissions

Submissions

comment 3y ago · link · parent

Do it the long, slow way. Write and run every example in the Book, in order. It takes you from “hello world” to a multi-threaded web server. This is a long task, so spread it over a few days. Read the text as you’re coding to understand it and get the fundamentals down. The Book is really more of a tutorial than a reference.

After writing out the book’s examples, you will probably struggle with borrowing but after a few weeks of building things it will click. You will then face an overwhelming urge to write and rewrite everything in Rust.