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

    Is It Time to Rewrite the Operating System in Rust?

    InfoQ

    1 HN recommender · recommended in 6 months, 2019–2023

    YouTube

    1:09:18 · 310K views · Feb 25, 2019

    Bryan Cantrill's QCon SF 2019 talk asking whether operating systems should be rewritten in Rust. He draws on his systems experience to discuss C, memory safety and Rust's fit for system software.

    Cited in debates about Rust versus C as a thoughtful systems programmer's account of falling for Rust.

    Software Engineering & LanguagesC, C++, Rust, Go & systems languagesOperating systems & kernelsSecurity & hacking
    1. 42:45
      RustConf 2017 - Closing Keynote: Safe Systems Software and the Future of Computing by Joe DuffyConfreaks2.5K views • 9 years ago
    2. 29:25
      Rust NYC: Jon Gjengset - Demystifying unsafe codeRust Programming Language27K views • 6 years ago
    3. 55:08
      Rust: A Language for the Next 40 Years - Carol NicholsChariotSolutions367K views • 7 years ago
    4. 34:41
      Microsoft is Getting Rusty: A Review of Successes and Challenges - Mark RussinovichRust Nation UK46K views • 1 year ago
    5. 37:07
      Scale By The Bay 2018: Bryan Cantrill, Rust and Other Interesting ThingsFunctionalTV45K views • 7 years ago
    6. 48:46
      Rust's Journey to Async/AwaitInfoQ90K views • 6 years ago
    7. 42:20
      Writing a Wayland Compositor in Zig - Isaac FreundZig SHOWTIME26K views • 6 years ago
    8. 1:38:57
      Carbon Language Successor Strategy: From C++ Interop to Memory Safety - Chandler Carruth - CppNow 23CppNow24K views • 3 years ago
    9. 1:22:21
      Introducing a Memory-Safe Successor Language in Large C++ Code Bases - John McCall - CppNow 2023CppNow18K views • 3 years ago
    10. 39:03
      RustConf 2020 - Closing Keynote by Siân GriffinRust Programming Language9.8K views • 6 years ago
    11. 54:35
      BlueHat IL 2023 - David Weston - Default SecurityMicrosoft Israel R&D Center47K views • 3 years ago
    12. 1:02:49
      Hacking with Andrew and Brad: tip.golang.orgThe Go Programming Language99K views • 11 years ago
    13. 1:54:00
      Can C++ be 10x Simpler & Safer? - Herb Sutter - CppCon 2022CppCon277K views • 3 years ago
    14. 52:54
      Rust at speed — building a fast concurrent databaseJon Gjengset225K views • 7 years ago
    15. 1:29:06
      CppCon 2015: Herb Sutter "Writing Good C++14... By Default"CppCon193K views • 11 years ago
    16. 2:16:18
      Hot Code Reloading in CTsoding Daily94K views • 3 years ago
    17. 1:32:33
      C++ and Beyond 2012: Herb Sutter - atomic Weapons 2 of 2alexsmail29K views • 9 years ago
    18. 59:48
      The Road to Zig 1.0 - Andrew KelleyChariotSolutions168K views • 7 years ago
    19. 54:55
      Dconf 2014 Day 2 Keynote: The Last Thing D Needs -- Scott MeyersThe D Language Foundation19K views • 8 years ago
    20. 1:40:46
      CppCon 2015: Bjarne Stroustrup “Writing Good C++14”CppCon351K views • 11 years ago

    6 comments from Hacker News

    1. @equaluniqueMay 2019· in “GKE Sandbox: Independent operating system kernel to each container”

      My introduction to gVisor was the talk by Emma Haruka Iwao at InfoQ NY 2018: [LINK] I learned of the talk because Brian Cantrill referenced it during his very deep dive into operating systems, C, and Rust given later at the some event: this video

      RecommendsView on HN
    2. @oconnor663Jul 2019· in “D as a C Replacement”

      > When I see syntax like: var array=something[4...$] I don't see security there, all I see is someone pushing the problem further under the carpet, into the runtime. The runtime (whichever one that is) is safe because its behavior is defined by design for all inputs. Yes there could be a bug, but the design is that all inputs should be defined, and doing something for any given input isn't rocket science. Out of bounds array indexes either panic/throw or return empty lists. That can lead to crashes and logic errors, sure, or maybe DOS attacks, but it cannot lead to undefined behavior or remote code execution. That's a world of difference. C and C++ by design expose heaps of undefined behavior to the caller. The tools for detecting UB are imperfect and don't work if the relevant inputs never show up in test cases. Even when veteran C coders develop the techniques and habits that let them write correct C, mistakes tend to show up at the integration points between libraries written by different people with different techniques and habits ( this video ).

      CitesView on HN
    3. @bcantrillSep 2020· in “Rust is not a good C replacement (2019)”

      Wow, tough crowd! I don't know that I -- or anyone that knows me -- would accuse me of "ever-evolving advocacy", but yes, I did see promise in node.js in 2010[1]. And yes, we at Joyent built systems on node.js -- but we also added unprecedented debuggability and observability along the way.[2]. While my views may not be "ever" evolving, they're also not incapable of it: by 2014, it was clear that node.js was diverging from my personal hopes for it -- that it was not going to become suitable for infrastructure software. While this was distressing at the time, I came to view this as a divergence in values -- a realization that I described at length in a talk in 2017.[3] To the matter at hand: yes, I have fallen in love with Rust.[4] Yes, I think it is a good fit for system software.[5] And yes, this has served as a bonding force at Oxide -- but as much (if not more!) for the values that it reflects than for it itself.[6] [1] [LINK] [2] [LINK] [3] [LINK] [4] [LINK] [5] this video [6] [LINK]

      CitesView on HN
    4. @littlestymaarJan 2021· in “Rust is now overall faster than C in benchmarks”

      > The reason that C programs often don’t perform as well as an equivalent rust program[1] is that it’s so incredibly hard to do anything at all in C (especially something reliable) that one can usually only do the simplest thing possible and this typically means simple data structures, simple algorithms and arrays Brian Cantrill talks[1] about exactly this: in his C version he was using AVL trees because they are easy to implement, while his Rust version was using B-trees just because he could. And as a result, his naive first attempt in Rust outperformed his long-optimized C code. [1]: this video

      CitesView on HN
    5. @oconnor663Feb 2023· in “Why I Use C When I Believe in Memory Safety”

      Bryan Cantrill making a similar point: this video > I can write C that frees memory properly...that basically doesn't suffer from memory corruption...I can do that, because I'm controlling heaven and earth in my software. It makes it very hard to compose software. Because even if you and I both know how to write memory safe C, it's very hard for us to have an interface boundary where we can agree about who does what.

      CitesView on HN