ferrous-systems / rust-three-days-course

Course material for Rust, taking roughly three days. English, German, Spanish available.
https://ferrous-systems.github.io/rust-three-days-course/presentation/
389 stars 66 forks source link

Notes from paris #91

Closed Hoverbear closed 7 years ago

Hoverbear commented 7 years ago

Overview

Installation

Basic Types

Cargo

Documentation

Memory COnsiderations

Overall

Feedback

skade commented 7 years ago

@Hoverbear I have two questions here: (possibly more later)

Rust-docs seems to be included in Rustup

Well, only if you installed the respective package once. That was changed a while ago.

Go relationship is interesting

Is that the relationship with the programming language go? Where would we mention that?

"Tuples" example is wrong.

The example currently is:

fn main() {
    let p = (1, 2);
    println!("{}", p.0);
    println!("{}", p.1);
}

What's wrong about it?

skade commented 7 years ago

For "Pragmatic" note that even basic strutures (like linked lists) need unsafe.

I'm not sure I agree. That's in the language overview. Also, linked lists are not a basic structure.

skade commented 7 years ago

For "Rust wants to be usable first" explain that PRs/issues to Rustc are easy if there is a cap missing.

I don't agree with that, the approachability of the project (sadly) has nothing to do with the usability of the language. The approachability of the project is covered in the community chapter.

Added a short note to "Goals"

skade commented 7 years ago

Talk about cargo <-> Package manager interaction.

I'm not sure about that, it blows the chapter up more, but I don't see that much of a gain.

Hoverbear commented 7 years ago

Rustdoc problem fixed in a4e5b9e118027382c7bd67640065628a07140096, it's already installed as we noted.

Hoverbear commented 7 years ago

The majority of these were fixed or disgarded.