[Перевод] Атомарные операции против мьютексов в Go: когда скорость становится проблемой

Команда Go for Devs подготовила перевод статьи о том, действительно ли атомарные операции всегда быстрее и лучше мьютексов в конкурентном коде. Автор разбирает реальные сценарии, показывает бенчмарки и объясняет, почему рост производительности часто оборачивается ростом сложности и рисков для корректности.

https://habr.com/ru/articles/986732/

#concurrency #atomic #mutex #rwmutex #performance #goroutines #синхронизация

Атомарные операции против мьютексов в Go: когда скорость становится проблемой

Команда Go for Devs  подготовила перевод статьи о том, действительно ли атомарные операции всегда быстрее и лучше мьютексов в конкурентном коде. Автор разбирает реальные сценарии, показывает...

Хабр
🐢💤 Wow, someone discovered that having 50,000 #goroutines is bad for production. 🚀🔧 Who knew that ignoring simple #programming #principles could turn your #API into a sloth? Maybe next time, they'll realize that basic #monitoring isn't just a checkbox activity. 🙄📊
https://skoredin.pro/blog/golang/goroutine-leak-debugging #performance #software #development #HackerNews #ngated
Finding and Fixing a 50,000 Goroutine Leak That Nearly Killed Production

Memory usage: 47GB. Response time: 32 seconds. Goroutines: 50,847. The story of debugging and fixing a massive goroutine leak in production.

[Перевод] 1000 и один способ угробить программу из-за гонки данных в Go

Команда Go for Devs подготовила перевод статьи о самых коварных и трудноуловимых гонках данных в Go. Автор показывает на реальных примерах, как даже опытные разработчики легко попадают в ловушки конкурентности: от случайных захватов переменных в замыканиях до неправильного срока жизни мьютексов и скрытых гонок в стандартной библиотеке.

https://habr.com/ru/articles/975844/

#go #concurrency #goroutines #httpclient #model

1000 и один способ угробить программу из-за гонки данных в Go

Команда Go for Devs подготовила перевод статьи о самых коварных и трудноуловимых гонках данных в Go. Автор показывает на реальных примерах, как даже опытные разработчики легко попадают в ловушки...

Хабр
🚀 Wow, #groundbreaking news: someone just discovered there's more to life than goroutines! 🤯 Introducing the "Reactive #paradigm," because why keep things simple when you can confuse your fellow developers with buzzwords? 💥Apparently, "ro" is the new magic sauce—because clearly, Go wasn't good enough at #concurrency already. 🙄
https://samuelberthe.substack.com/p/go-beyond-goroutines-introducing #news #reactive #goroutines #buzzwords #HackerNews #ngated
Go beyond Goroutines: introducing the Reactive Programming paradigm

Since 2009, the Go language has been a first-class citizen for concurrent applications. Today, it ascends to a new level with "ro", the reactive programming package.

Samuel Berthe
Go beyond Goroutines: introducing the Reactive Programming paradigm

Since 2009, the Go language has been a first-class citizen for concurrent applications. Today, it ascends to a new level with "ro", the reactive programming package.

Samuel Berthe

Can anyone recommend a good and up to date book (like, with paper) for learning Go? The programming language, not the game.

Target audience (me) is an experienced, multilingual developer familiar with all the programming things. I need a walk through the syntax and then deeper intros to Go-specific topics, tooling, the standard library, etc.

#golang #godev #go #goroutines

Elton Minetto (@eltonminetto.dev)

Software developer, Teacher, speaker. Principal Software Engineer at @picpay.

Bluesky Social
🤖 "Understanding" the Go Scheduler is code for a 💤-inducing saga about #Goroutines and the majestic #GMP 🌀 model – a thrilling tale of scheduling minutiae nobody asked for, sprinkled with enough disclaimers to make you question if the author even believes it. Spoiler alert: it's mostly recycled content, with a side of 'please correct me' humility. 🙄
https://nghiant3223.github.io/2025/04/15/go-scheduler.html #GoScheduler #RecycledContent #TechHumor #CodingSaga #HackerNews #ngated
Go Scheduler

↑ ↓

Melatoni

Секреты дедлоков

Как-то раз я допустил в своем коде дедлок и пока выкатывал пул реквест с его фиксом думал “ах как бы было хорошо, если дедлоки определялись на этапе компиляции”. Я решил немного разобраться в этом вопросе и вот что выяснил… Узнать больше

https://habr.com/ru/companies/ozonbank/articles/908978/

#go #goroutine #goroutines #panic #deadlock #deadlocks #timer #дедлок #горутина #горутины

Секреты дедлоков

Как-то раз я допустил в своем коде дедлок и пока выкатывал пул реквест с его фиксом думал “ах как бы было хорошо, если дедлоки определялись на этапе компиляции”. Я решил немного разобраться в этом...

Хабр
Ah, yes, the epic 2025 standoff between the crab with delusions of zero-cost grandeur and the #gopher juggling #goroutines like it's Cirque du Soleil. 🦀🤹‍♂️ Meanwhile, #TypeScript is left in the corner wondering why it even bothered attending this backend brawl. 🤷‍♀️💻
https://effective-programmer.com/rust-vs-go-battle-for-the-backend-368f775de9fc #epicstandoff #crabvs #backendbrawl #HackerNews #ngated
Rust vs Go: Battle for the Backend - Effective Programmer

Discover how the popularity of these two languages has evolved and what this means for the backend game moving forward.

Effective Programmer