Skip to content
HomeVideos
AllLongsCategoriesPlaylists
BooksBlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K

    Crust of Rust: Lifetime Annotations

    Jon Gjengset

    3 HN recommenders · recommended in 4 months, 2020–2023

    YouTube

    1:33:23 · 299K views · Apr 22, 2020

    In this first Crust of Rust episode, Jon Gjengset live-codes an example that needs multiple explicit lifetime annotations. Along the way he covers string types and generics over a custom trait.

    Recommended as a slow-paced, detailed live-coding session that makes lifetimes click once you are past Rust basics.

    Software Engineering & LanguagesC, C++, Rust, Go & systems languagesProgramming language design
    1. 52:54
      Rust at speed — building a fast concurrent databaseJon Gjengset225K views • 7 years ago
    2. 2:34:01
      Crust of Rust: async/awaitJon Gjengset246K views • 5 years ago
    3. 3:03:54
      The Why, What, and How of Pinning in RustJon Gjengset87K views • 7 years ago
    4. 1:02:49
      Hacking with Andrew and Brad: tip.golang.orgThe Go Programming Language99K views • 11 years ago
    5. 48:46
      Rust's Journey to Async/AwaitInfoQ90K views • 6 years ago
    6. 55:08
      Rust: A Language for the Next 40 Years - Carol NicholsChariotSolutions367K views • 7 years ago
    7. 29:25
      Rust NYC: Jon Gjengset - Demystifying unsafe codeRust Programming Language27K views • 6 years ago
    8. 2:59:08
      Vibe coding complex changes in RustJon Gjengset56K views • 1 year ago
    9. 43:04
      "Stop Writing Dead Programs" by Jack Rusher (Strange Loop 2022)Strange Loop Conference468K views • 4 years ago
    10. 32:24
      RustLatam 2019 - Without Boats: Zero-Cost Async IORust Programming Language55K views • 7 years ago
    11. 4:09:16
      Implementing (part of) a BitTorrent client in RustJon Gjengset115K views • 3 years ago
    12. 42:30
      RustConf 2018 - Closing Keynote - Using Rust For Game Development by Catherine WestRust Programming Language152K views • 8 years ago
    13. 1:29:06
      CppCon 2015: Herb Sutter "Writing Good C++14... By Default"CppCon193K views • 11 years ago
    14. 1:01:51
      Rant: Entity systems and the Rust borrow checker ... or something.Jonathan Blow304K views • 8 years ago
    15. 1:29:49
      Going Native 2012 Keynote Stroustrupsavage30933K views • 14 years ago
    16. 1:55:24
      Ideas about a new programming language for games.Jonathan Blow530K views • 12 years ago
    17. 1:07:22
      Invited Talk - Guy SteeleClojureTV39K views • 9 years ago
    18. 54:55
      Dconf 2014 Day 2 Keynote: The Last Thing D Needs -- Scott MeyersThe D Language Foundation19K views • 8 years ago
    19. 51:27
      Google I/O 2012 - Go Concurrency PatternsGoogle for Developers894K views • 14 years ago
    20. 12:31
      OSCON 2010: Rob Pike, "Public Static Void"O'Reilly119K views • 16 years ago

    4 comments from Hacker News

    1. @tialaramexSep 2022· in “Next steps for Rust in the kernel”

      So, with "good working knowledge" of C++ and Swift, you probably aren't going to have too much trouble with the basics, if anything you might worry that there's some subtlety which you're missing when actually nope, whatever just seemed easy maybe actually was that easy. [ For example move really is as simple as Rust makes it look, it is a headache in C++ because they added it to a finished working language ] Several people suggested books/ web pages let me suggest some videos: Jon Gjengset's "Crust of Rust" Youtube videos are good once you reach the point where you can write more than "Hello, world!" with some confidence but certain specific things aren't clicking. this video For example, Jon does a whole video on lifetime annotations, which are something you won't see in most popular languages, but also one on Rust's iterators, which are a familiar concept from both C++ and Swift but don't work quite like either (they're very different from C++ iterators, your Swift experience will help more). I recommend watching specifically a handful on topics you don't feel you understood well, although you could watch all of them especially if you just enjoy Jon's style and have the free time. They're not fast paced, if you wanted "Rust in 60 minutes" this is not that, but each one is actually writing carefully chosen code that runs and talking through what's going on, not just clicking through slides.

      RecommendsView on HN
    2. @harikbJun 2020· in “There’s plenty of room at the Top: computer performance after Moore’s law”

      Anecdotal - One of favorite YouTube live-streaming personalities, Jon Gjengset[1] is a Ph.D student at MIT CSAIL. His talks are very detailed[4] and captivating[3] [1] [LINK] Talks [2] [LINK] [3] [LINK] Rust Details(my favorites) [4] this video

      RecommendsView on HN
    3. @ashish01Sep 2020· in “My Favorite Rust Function Signature”

      I also used to feel the same way. But listening to [0]Crust of Rust: Lifetime Annotations by Jon Gjengset helped me understand its need. [0] this video really helped me understand it.

      RecommendsView on HN
    4. @ly3xqhl8g9Feb 2023· in “Why I Use C When I Believe in Memory Safety”

      Rust seems nice when you see someone like Jon Gjengset writing it [1], however when actually writing it yourself you discover that your errors have errors which only show some kind of alien fishing when you Google them. Perhaps ChatGPT could help here, it's quite useful/pleasant for trivial quizzes, however I asked it recently how to handle a file upload using actix-web and it hallucinated some really nice methods, too bad they aren't in the code base. [1] this video

      CitesView on HN