Горутины изнутри, часть 3

newsare.net · tech
✨ AI Summary

The final part of a series on Go goroutines and runtime explores what happens outside the G/M/P model, including system calls, networking, and garbage collection. It also walks through the full scheduler cycle, making GODEBUG=schedtrace output readable. The article covers new features in Go 1.22-1.27 where the runtime takes on more work for the programmer.

<img src="https://habrastorage.org/getpro/habr/upload_files/084/1fc/457/0841fc4573b692c585e088f68e23dacb.png" /><p>Финал серии про горутины и рантайм Go. Здесь то, что происходит за пределами уютного мира G/M/P: системные вызовы, сеть, сборщик мусора. Плюс полный круг планировщика, после которого вывод <code>GODEBUG=schedtrace</code> читается как обычный лог, и все свежее из Go 1.22-1.27: рантайм, который начал делать работу за программиста.</p> <a href="https://habr.com/ru/articles/1077498/?utm_source=habrahabr&amp;utm_medium=rss&amp;utm_campaign=1077498#habracut">Go читать</a>

Read full article →