User-level threads....... with threads. - Paul Turner - Google
6 人推荐 · 跨 6 个月 · 2013–2024

中文导读
Google 内核资深工程师 Paul Turner 在 Linux Plumbers Conference 上的分享。他介绍了为协同式用户态线程调度设计的内核原生接口,旨在为 C++、Java、Go 和 Python 提供统一的同步编程模型,并揭秘了支撑 Google 内部 Fiber 系统的 switchto 机制。
为什么 HN 推它
深入探究用户态协同调度、绿色线程与内核交互必看的底层架构级演讲,也是日后各语言异步与协程大争论的核心先驱文献。
「Paul Turner 在当年的 Linux Plumbers Conference 上讲得极其透彻,整场演讲简直太精彩了。」HN 网友原话:Paul Turner explained this really well at this year's Linux Plumbers Conference. The whole talk is fantastic
英文原摘要(HackerTube / Claude 整理)
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.
HN cites it as the key explanation of cooperative, user-scheduled kernel threads and the prior art behind later async and coroutine debates.
HN 上的提及
If you're interested in this area you might like this talk from the Linux plumbers' conference
Video hints at Google's synchronous programming model work
the video[1] mentioned the post describes Linux patches that add support for it.
Shows pursuit of N:1 userland coroutine model in kernel
Paul Turner explained this really well at this year's Linux Plumbers Conference. The whole talk is fantastic