Загрузка...

Go’s Forgotten Concurrency Coordination Primitives | Golang for Devs

All about the less used primitives from the standard library used to coordinate goroutines.
Mutex’s, once functions, condition’s, concurrency safe types, and atomics.

*==============================*
*Other Resources*
*==============================*

Video’s
- Golang for Devs Playlist → https://www.youtube.com/playlist?list=PLs_LGvtimBCIiFK7SfQwwm8xdhw4i3Bz5
- Concurrency Basics → https://youtu.be/dD5TXB-63gw
- Concurrency Model and Scheduler → https://youtu.be/E_AfKuVbWG0
- Basic Concurrency Patterns → https://youtu.be/iqF7xmceKYk
- Pipelines Deep Dive → https://youtu.be/gz4DKBKe58A
- Concurrency Mistakes → https://youtu.be/YZMucEzRd_I

Code
- https://github.com/chriselderxyz/youtube/tree/main/golang-for-devs/15-concurrency-coordination

Docs
- sync Package → https://pkg.go.dev/sync
- sync/atomic Package → https://pkg.go.dev/sync/atomic

Books
- 100 Go Mistakes (Great Read) → https://www.manning.com/books/100-go-mistakes-and-how-to-avoid-them
- 100 Go Mistakes (On Web) → https://100go.co/
- Concurrency in Go (Just Ok) → https://www.oreilly.com/library/view/concurrency-in-go/9781491941294/

*==============================*
*About Me*
*==============================*

Software dev with 6+ years of concussion disability, getting back into the game one step at a time.

Socials:
- https://twitter.com/chriselderxyz

*==============================*
*Video Chapters*
*==============================*

00:00 - Intro
00:23 - sync.Mutex
03:05 - TryLock
03:32 - sync.RWMutex
04:51 - sync.Once
06:34 - Once Wrappers
08:12 - sync.Cond
11:32 - sync.Map
14:26 - sync/atomic
16:23 - Outro

*==============================*
Original Go gopher art:
Creator: Renee French
Source: https://golang.org/doc/gopher/
License: CC BY 3.0 — https://creativecommons.org/licenses/by/3.0/

Vector Go gopher art:
Creator: Takuya Ueda
Source: https://github.com/golang-samples/gopher-vector
License: CC BY 3.0 — https://creativecommons.org/licenses/by/3.0/
Modified from the original

Видео Go’s Forgotten Concurrency Coordination Primitives | Golang for Devs канала Chris Elder
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять