Git Product home page Git Product logo

rust-tutorials-keynote's People

Contributors

aturon avatar nikomatsakis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

rust-tutorials-keynote's Issues

Misc feedback for Ownership and Borrowing slides

No typos during my review, but here are some notes I gathered while reviewing them:

  • Slide 14: for the "No need for runtime", "Memory safety", you and I noted in the past that there wasn't a clear contender for a language (or language feature) to put below "Data-race freedom." During my most recent presentation, someone in the audience suggested putting "Erlang" below this; I replied "well Erlang's approach isn't like Rust's", but then I immediately noted "then again, a GC approach isn't like Rust's either." So just a thought, if you want to make the arrows all have analogues.

  • Slide 26: I've often wondered what to say during this picture. I happened to just notice that the tether in the hand of one of the children could well be considered a refererence! :)

  • Slide 33: the fact that the arrow starts from the & in &name is super important. (I have sometimes made the mistake of talking about the lifetime as being something that comes from, or is at least "associated with" r, but that viewpoint is misleading.) You might consider putting & in parentheses after the word "reference" in this slide, to further stress that.

  • Slide 34: you might consider comparing the provided non-compiling code with something like:

    fn helper(name: &String) {
        let name_val = name.clone();
        thread::spawn(move || {
            use(name_val);
        });
    }

    (just to make it clear that it is the reference that is not transferable, versus an owned instance of String itself...)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.