hackertube.io

User-level threads....... with threads. - Paul Turner - Google

Linux Plumbers Conference · talk · Watch on YouTube

What it is

Paul Turner of Google presents kernel interfaces for user-level scheduling of real threads, aiming at a uniform synchronous programming model across C++, Java, Go and Python. It introduces the switchto-style system calls behind Google's fibers.

Why Hacker News recommends it

HN cites it as the key explanation of cooperative, user-scheduled kernel threads and the prior art behind later async and coroutine debates.

  • 6 people recommended it
  • 6 different months
  • 1 strong recommendations
  • first 2013, last 2024

What HN commenters said

  1. “Paul Turner explained this really well at this year's Linux Plumbers Conference. The whole talk is fantastic”

    Fantastic explanation of user-level scheduling, with key section timestamp

    russell_h, 2013-12 · Strong recommendation · in “The Rust standard library no longer has any scheduling baked into it”

  2. “If you're interested in this area you might like this talk from the Linux plumbers' conference”

    Google talk on uniform synchronous programming via user-level threads

    skybrian, 2013-11 · Recommendation · in “The future of M:N threading”

  3. “Google has a very interesting talk about cooperative native thread scheduling, but they haven't upstreamed their code”

    Interesting talk on cooperative native thread scheduling

    acconsta, 2015-09 · Recommendation · in “Asynchronous IO in Rust”

  4. “this talk on user-scheduled OS threads is really interesting.”

    Talk on user-scheduled OS threads

    asb, 2016-12 · Recommendation · in “Haskell in the Datacentre”

  5. “Another interesting talk”

    Another interesting talk on modern threading

    lomnakkus, 2018-03 · Recommendation · in “Fast, Safe, and Complete(ish) Web Service in Rust”

  6. “Here's the talk which, unfortunately, does not show the higher level APIs I'm talking about”

    Talk on Google Fibers, a better way of doing threads

    m0zg, 2021-11 · Recommendation · in “C++ Coroutines Do Not Spark Joy”

Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.

Topics: linux kernel, fibers, scheduling, concurrency, switchto, google

Also recommended by the same people