#concurrency — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #concurrency, aggregated by home.social.
-
Code Review Horror Stories. Часть 2: API, ошибки и graceful shutdown
Продолжение разбора реального кода с собеседования. В первой части разобрали 8 проблем concurrency и memory: race conditions, утечки горутин, проигнорированный mutex, TOCTOU. Это была первая половина из 21 бага в одном сервисе на 150 строк. Сегодня — вторая часть. Тут нет страшных race conditions, но есть то, что выдаёт уровень разработчика на собесе: отношение к ошибкам, валидация, API design, graceful shutdown, observability . Эти баги не упадут “вдруг” в продакшене — они будут тихо пилить вам костыль за костылём, пока кто-то не сядет переписывать. Актуально для Go 1.26. Напомню итог первой части: из 8 багов про concurrency на интервью нашёл 7, пропустил только TOCTOU race. В этой части из 13 багов пропустил два : package applike с func main() (то, что код не компилируется — банально не посмотрел на объявление пакета) и отсутствие slog (просто не зацепился за log.Println , а зря). Остальные 11 — поймал. Расскажу, какими паттернами в чтении кода я их вылавливал.
https://habr.com/ru/articles/1033634/
#go #golang #code_review #интервью #баги #api #graceful_shutdown #concurrency #go_126
-
Code Review Horror Stories. Часть 2: API, ошибки и graceful shutdown
Продолжение разбора реального кода с собеседования. В первой части разобрали 8 проблем concurrency и memory: race conditions, утечки горутин, проигнорированный mutex, TOCTOU. Это была первая половина из 21 бага в одном сервисе на 150 строк. Сегодня — вторая часть. Тут нет страшных race conditions, но есть то, что выдаёт уровень разработчика на собесе: отношение к ошибкам, валидация, API design, graceful shutdown, observability . Эти баги не упадут “вдруг” в продакшене — они будут тихо пилить вам костыль за костылём, пока кто-то не сядет переписывать. Актуально для Go 1.26. Напомню итог первой части: из 8 багов про concurrency на интервью нашёл 7, пропустил только TOCTOU race. В этой части из 13 багов пропустил два : package applike с func main() (то, что код не компилируется — банально не посмотрел на объявление пакета) и отсутствие slog (просто не зацепился за log.Println , а зря). Остальные 11 — поймал. Расскажу, какими паттернами в чтении кода я их вылавливал.
https://habr.com/ru/articles/1033634/
#go #golang #code_review #интервью #баги #api #graceful_shutdown #concurrency #go_126
-
Code Review Horror Stories. Часть 2: API, ошибки и graceful shutdown
Продолжение разбора реального кода с собеседования. В первой части разобрали 8 проблем concurrency и memory: race conditions, утечки горутин, проигнорированный mutex, TOCTOU. Это была первая половина из 21 бага в одном сервисе на 150 строк. Сегодня — вторая часть. Тут нет страшных race conditions, но есть то, что выдаёт уровень разработчика на собесе: отношение к ошибкам, валидация, API design, graceful shutdown, observability . Эти баги не упадут “вдруг” в продакшене — они будут тихо пилить вам костыль за костылём, пока кто-то не сядет переписывать. Актуально для Go 1.26. Напомню итог первой части: из 8 багов про concurrency на интервью нашёл 7, пропустил только TOCTOU race. В этой части из 13 багов пропустил два : package applike с func main() (то, что код не компилируется — банально не посмотрел на объявление пакета) и отсутствие slog (просто не зацепился за log.Println , а зря). Остальные 11 — поймал. Расскажу, какими паттернами в чтении кода я их вылавливал.
https://habr.com/ru/articles/1033634/
#go #golang #code_review #интервью #баги #api #graceful_shutdown #concurrency #go_126
-
Code Review Horror Stories. Часть 2: API, ошибки и graceful shutdown
Продолжение разбора реального кода с собеседования. В первой части разобрали 8 проблем concurrency и memory: race conditions, утечки горутин, проигнорированный mutex, TOCTOU. Это была первая половина из 21 бага в одном сервисе на 150 строк. Сегодня — вторая часть. Тут нет страшных race conditions, но есть то, что выдаёт уровень разработчика на собесе: отношение к ошибкам, валидация, API design, graceful shutdown, observability . Эти баги не упадут “вдруг” в продакшене — они будут тихо пилить вам костыль за костылём, пока кто-то не сядет переписывать. Актуально для Go 1.26. Напомню итог первой части: из 8 багов про concurrency на интервью нашёл 7, пропустил только TOCTOU race. В этой части из 13 багов пропустил два : package applike с func main() (то, что код не компилируется — банально не посмотрел на объявление пакета) и отсутствие slog (просто не зацепился за log.Println , а зря). Остальные 11 — поймал. Расскажу, какими паттернами в чтении кода я их вылавливал.
https://habr.com/ru/articles/1033634/
#go #golang #code_review #интервью #баги #api #graceful_shutdown #concurrency #go_126
-
From 11:00 to 12:00 on Thursday, May 28, the PLUSLE reading group will discuss "Proofs as Processes" by Samson Abramsky, as well as the first two sections of "Propositions as sessions" by Philip Wadler.
https://plsl.acp.sdu.dk/posts/2025-05-28-proofs-as-processes-propositions-as-sessions/
#PLUSLE #curryHoward #propositionsAsTypes #concurrency #logic #lambdaCalculus #piCalculus #programmingLanguages #functionalProgramming
-
NSManagedObjectContext can now cross Swift isolation domains — but it's not a compiler change. Apple quietly added NS_SWIFT_SENDABLE annotations to the SDK in Xcode 26, making it Sendable. A subtle but significant shift for Core Data developers.
🔗: https://fatbobman.com/en/posts/sendable-nsmanagedobjectcontext/ by Xu Yang (@fatbobman)
-
Ah, the classic tale of "I read the source code, so now I'm a UV master" 🤓. This riveting 21-minute epic attempts to dazzle us with #Rust and #concurrency, but let's be real—it's just a hipster's #guide to reinventing the wheel with extra steps 🚴♂️✨. If only life were as fast as these #benchmarks claim! 🐢💨
https://noos.blog/posts/uv-how-it-works-under-the-hood/ #UVmaster #hipster #codinghumor #HackerNews #ngated -
@Kerplunk By way of comparison, Robin Milner, a great mathematician and computer scientist who died recently. He never completed his phud. The story he s#told me and many others is that in hols his manuscript blew into the water and he could not be arsed to do a rewrite
-
POV: you need a break from your vacation so you attend a seminar about a cool new paper at your old university. 🤓
paper: https://dl.acm.org/doi/10.1145/3776643
preprint: https://arxiv.org/abs/2505.05162
#AcademicChatter #AcademicMastodon #ProfessorLife #LatourOnTour #ComputationalComplexity #Concurrency #ComputerScience
-
POV: you need a break from your vacation so you attend a seminar about a cool new paper at your old university. 🤓
paper: https://dl.acm.org/doi/10.1145/3776643
preprint: https://arxiv.org/abs/2505.05162
#AcademicChatter #AcademicMastodon #ProfessorLife #LatourOnTour #ComputationalComplexity #Concurrency #ComputerScience
-
POV: you need a break from your vacation so you attend a seminar about a cool new paper at your old university. 🤓
paper: https://dl.acm.org/doi/10.1145/3776643
preprint: https://arxiv.org/abs/2505.05162
#AcademicChatter #AcademicMastodon #ProfessorLife #LatourOnTour #ComputationalComplexity #Concurrency #ComputerScience
-
POV: you need a break from your vacation so you attend a seminar about a cool new paper at your old university. 🤓
paper: https://dl.acm.org/doi/10.1145/3776643
preprint: https://arxiv.org/abs/2505.05162
#AcademicChatter #AcademicMastodon #ProfessorLife #LatourOnTour #ComputationalComplexity #Concurrency #ComputerScience
-
POV: you need a break from your vacation so you attend a seminar about a cool new paper at your old university. 🤓
paper: https://dl.acm.org/doi/10.1145/3776643
preprint: https://arxiv.org/abs/2505.05162
#AcademicChatter #AcademicMastodon #ProfessorLife #LatourOnTour #ComputationalComplexity #Concurrency #ComputerScience
-
Ah, another article with the groundbreaking revelation that #BEAM and #OTP are still undefeated champions of concurrency! 🤯 Let's all pretend to be shocked when the next overhyped framework crashes and burns, while the #Erlang folks quietly smirk in the corner. 😂💥
https://variantsystems.io/blog/beam-otp-process-concurrency #concurrency #frameworks #techhumor #HackerNews #ngated -
Process-Based Concurrency: Why Beam and OTP Keep Being Right
https://variantsystems.io/blog/beam-otp-process-concurrency
#HackerNews #ProcessBasedConcurrency #Beam #OTP #Elixir #SoftwareDevelopment #Concurrency
-
Process-Based Concurrency: Why BEAM and OTP Keep Being Right
-
#Introduction I've been around the Fediverse for a few years, but at some point I ended up abandoning this account 🙈
So... let’s try again.
I teach computer science at VRAIN-UPV (Universitat Politècnica de València, Spain). My research interests include things like explainable and symbolic #AI, #probabilistic #logic programming/term rewriting, #causality, #concurrency, #programming languages, #reversible computing, program #verification, and #debugging.
Outside of work, I'm into #photography and I'm a big #sci-fi fan (books, movies, and TV shows). I also enjoy traveling, cooking, and getting outside for a walk or a run.
Languages: Spanish (native), Catalan, English, and some Italian.
-
[Перевод] 1000 и один способ угробить программу из-за гонки данных в Go
Команда Go for Devs подготовила перевод статьи о самых коварных и трудноуловимых гонках данных в Go. Автор показывает на реальных примерах, как даже опытные разработчики легко попадают в ловушки конкурентности: от случайных захватов переменных в замыканиях до неправильного срока жизни мьютексов и скрытых гонок в стандартной библиотеке.
-
Why does Combine cause crashes when mixing with Swift Concurrency? Explore the missing 𝘚𝘦𝘯𝘥𝘢𝘣𝘭𝘦 annotations in Combine's operators and what you need to know to use them safely in production.
🔗: https://www.massicotte.org/combine-annotations by Matt Massicotte (@mattiem)
-
joerl :: довёл до рабочей версии
joerl — это библиотека модели акторов для Rust, вдохновленная Erlang и названная в честь Джо Армстронга , создателя Erlang. Если вам когда-либо приходилось строить конкурентные системы на Erlang/OTP и вы думали: «Эх, был бы здесь хоть намек на систему типов», — то вот она, ваша прелесть. Я начинал этот проект просто потренироваться в расте немного, но меня затянуло и я довел ее более-менее до ума. Сам я на расте писать буду вряд ли, если кто-то ближе к телу захочет попробовать — буду признателен. Публикую сейчас, потому что свободное время у меня заканчивается, много допилов в ближайшее время ждать не стоит, основную функциональность, которую хотел, я сделал, а карму мне скоро выкрутят в минус и придётся публиковаться через песочницу. Релиз с distribution и телеметрией
https://habr.com/ru/articles/974660/
#actor_model #concurrency #otp #supervision_tree #distributed_systems
-
A million ways to die from a data race in Go
https://gaultier.github.io/blog/a_million_ways_to_data_race_in_go.html
#HackerNews #A #million #ways #to #die #from #a #data #race #in #Go #data #race #Go #programming #concurrency #software #development
-
Wednesday Links - Edition 2025-11-05
https://dev.to/0xkkocel/wednesday-links-edition-2025-11-05-9d3
#java #jvm #spring #kafka #postgresql #concurrency #testing #aws #ussd -
Wednesday Links - Edition 2025-11-05
https://dev.to/0xkkocel/wednesday-links-edition-2025-11-05-9d3
#java #jvm #spring #kafka #postgresql #concurrency #testing #aws #ussd -
Wednesday Links - Edition 2025-11-05
https://dev.to/0xkkocel/wednesday-links-edition-2025-11-05-9d3
#java #jvm #spring #kafka #postgresql #concurrency #testing #aws #ussd -
Wednesday Links - Edition 2025-11-05
https://dev.to/0xkkocel/wednesday-links-edition-2025-11-05-9d3
#java #jvm #spring #kafka #postgresql #concurrency #testing #aws #ussd -
Wednesday Links - Edition 2025-11-05
https://dev.to/0xkkocel/wednesday-links-edition-2025-11-05-9d3
#java #jvm #spring #kafka #postgresql #concurrency #testing #aws #ussd -
Reproducing the AWS Outage Race Condition with a Model Checker
#HackerNews #Reproducing #AWS #Outage #Race #Condition #Model #Checker #Concurrency #TechNews
-
Crossfire: High-performance lockless spsc/mpsc/mpmc channels for Rust
https://github.com/frostyplanet/crossfire-rs
#HackerNews #Crossfire #Rust #lockless #channels #performance #concurrency #programming
-
🚀 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 -
Параллельное выполнение запросов PHP SOAP client
Статья о реализации параллельных SOAP запросов в PHP с использованием кастомного HTTP транспорта и Guzzle promises
-
Fray: A Controlled Concurrency Testing Framework for the JVM
https://github.com/cmu-pasta/fray
#HackerNews #Fray #Controlled #Concurrency #JVM #Testing #Framework #HackerNews
-
Fray: A Controlled Concurrency Testing Framework for the JVM
https://github.com/cmu-pasta/fray
#HackerNews #Fray #Controlled #Concurrency #JVM #Testing #Framework #HackerNews
-
Fray: A Controlled Concurrency Testing Framework for the JVM
https://github.com/cmu-pasta/fray
#HackerNews #Fray #Controlled #Concurrency #JVM #Testing #Framework #HackerNews
-
Fray: A Controlled Concurrency Testing Framework for the JVM
https://github.com/cmu-pasta/fray
#HackerNews #Fray #Controlled #Concurrency #JVM #Testing #Framework #HackerNews
-
Fray: A Controlled Concurrency Testing Framework for the JVM
https://github.com/cmu-pasta/fray
#HackerNews #Fray #Controlled #Concurrency #JVM #Testing #Framework #HackerNews
-
Discovering a JDK Race Condition, and Debugging It in 30 Minutes with Fray
https://aoli.al/blogs/jdk-bug/
#ycombinator #fray #concurrency_bug #concurrency #jdk -
Discovering a JDK Race Condition, and Debugging It in 30 Minutes with Fray
https://aoli.al/blogs/jdk-bug/
#ycombinator #fray #concurrency_bug #concurrency #jdk -
Discovering a JDK Race Condition, and Debugging It in 30 Minutes with Fray
https://aoli.al/blogs/jdk-bug/
#ycombinator #fray #concurrency_bug #concurrency #jdk -
Discovering a JDK Race Condition, and Debugging It in 30 Minutes with Fray
https://aoli.al/blogs/jdk-bug/
#ycombinator #fray #concurrency_bug #concurrency #jdk -
Some light reading from Prof Ilya Sergey of Singapore University
https://ilyasergey.net/YSC4231/syllabus.html#
#concurrency #parallelprogramming
#computerscience #distributedprogramming