Prerequisites
Familiarity with the Rust programming language and its syntax
Basic understanding of how compilers work
Part 1: Setting Up Your Development Environment
Installing RustOverview of Rust installation options (Rustup, package managers, manual installation)
Installing Rust using Rustup
Setting up the Rust development environment
Doc Jones changed 2 years agoView mode Like Bookmark
Today’s plan: Pernosco!
And a RRC retrospective
Felix Klock will lead us through a tutorial of Pernosco
Followed by a short Q&A
The recording of Felix's talk will be available on his YouTube channel.
Retrospective
In RRC tradition we discuss what has worked, hasn't worked and what needs improvement. We'll add our thoughts to this hackmd.
Doc Jones changed 3 years agoView mode Like Bookmark
Pernos.co demo
This document was used to drive a demonstration of pernos.co.
You can see that demo on YouTube, here: https://youtu.be/uTc7KCBbVFI?t=87
[toc]
Links to pernos.co sessions
{%hackmd gWG5XO-XRK6GdyVkMBqV4A %}
Basics
Today's plan
Idea
Niko explains some interesting things (15 minutes)
Experimental period (15 minutes):
Come up with a working theory for how things work
Come up with 2 or 3 interesting examples
Sharing period (30 minutes):
Today's plan: Pernosco!
Pernosco link
Link at visit_item call
Example program:
fn f() {
g(); // Since there are no local variables in scope yet, this resolves to the item.
let g = || {}; // "the local variable"
Doc Jones changed 3 years agoView mode Like Bookmark
Pattern for this time
Broad / deep
10 minutes reading
5 minutes take notes
20 minutes of chat
Note-taking
While you read, take notes however you prefer. You can use this hackmd but you can also use paper or your brain.
Niko Matsakis changed 4 years agoView mode Like Bookmark
RRC FTW
Welcome to the Rustc reading club!
Goals:
Get familiar with the "patterns" of rustc
Learn what supporting resources are available
Get vague idea of what code does what
Deepen understanding of specific pieces of code
Have fun! :rainbow: :unicorn_face:
Niko Matsakis changed 4 years agoSlide mode Like Bookmark