Async and Finaliser Deadlocks
https://tratt.net/laurie/blog/2025/async_and_finaliser_deadlocks.html
#HackerNews #Async #Finaliser #Deadlocks #Programming #Concurrency #SoftwareDevelopment #HackerNews
「 IMO, the #Mars #Pathfinder problem was caused by the over-removal of asynchrony - true #concurrency - from the problem and replacing it by step-wise simultaneity, then mis-labelling this approach as “concurrency”. This led to the problem that Facts were ignored. The bug was encountered - apparently “randomly” - before launch, but, ignored. The use of the function-based, overly-synchronous paradigm caused an unforeseen gotcha, but, it looked liked a random Act of God, and was, thus, ignored 」
"Hey let's do a quick 20min recording of me reading @mattiem's post"
https://www.youtube.com/watch?v=tGhn_p6qF2o
80min later ...
Tôi đã xây cùng một thư viện concurrency trong Go và Python, hai ngôn ngữ với trải nghiệm hoàn toàn khác nhau.
Go (gliter) sử dụng goroutines và channels cho sự ổn định, rõ ràng. Python (pipevine) với async + multiprocessing mang lại tính linh hoạt nhưng khó đảm bảo tính bền vững.
Câu hỏi được đặt ra: chúng ta có thực sự muốn concurrency dễ sử dụng, hay một số ma sát cần thiết như một rào chắn an toàn?
#programming #concurrency #golang #python #softwareengineering #lậptrình #đồngthời #go #py
This is gold if you're using async Rust 💯
🌀 **channels-console** — A TUI dashboard for inspecting std/tokio/futures/crossbeam channels.
📊 Watch messages, queue depth, throughput & memory usage live.
🦀 Written in Rust & built with @ratatui_rs
⭐ GitHub: https://github.com/pawurb/channels-console
#rustlang #ratatui #tui #async #concurrency #tokio #debugging
Любовь, смерть и жизненный цикл: считаем, сколько люди проводят времени в вашем Android-приложении
Приветствую всех заглянувших трудяг! Помните, как вы готовились к первым собеседованиям на должность Android-разработчика? Жизненный цикл, пересоздание Activity, коллбеки ЖЦ: все эти понятия хорошо знакомы каждому молодому специалисту в нашей с вами области. Однако одна из прилетевших от аналитиков задач на отправку событий, связанных с длительностью нахождения пользователя в приложении, ввела меня в ступор, заставила провести небольшое исследование, проявить чудеса ведения переговоров и узнать много интересных нюансов. Об этом увлекательном путешествии сегодня расскажу вам я, Александр Лебедь, Android-разработчик Core команды приложения WB Partners.
https://habr.com/ru/companies/wildberries/articles/963618/
#android #lifecycle #синхронизация #concurrency #exceptions #configuration_changes #analytics #activity #process
Многопоточность в современном C++: Lock-Free программирование, Memory Ordering и Atomics
Многопоточное программирование в C++ традиционно ассоциируется с мьютексами, condition variables и потенциальными проблемами вроде deadlocks и race conditions. Однако современные стандарты C++ (начиная с C++11 и далее) предоставляют инструменты для написания высокопроизводительного многопоточного кода без классических блокировок. В этой статье рассмотрим продвинутые техники: lock-free программирование, атомарные операции и различные модели упорядочивания памяти.
https://habr.com/ru/articles/963818/
#multithreading_programming #c++ #concurrency #lockfree #atomic
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
#newspapers and linear media
who's got to be in the front page
2D
#internet has concurrency
3D (or more)
#concurrency
can be both a good thing
and a bad thing?
it can be a good thing
BECAUSE
you don't _have_ to take care of #everything, since #parallel things
OPTIMIZE
for health, well-being, longevity, ...? even the right to have a bit of fun and make mistakes _and_ survive?
#musings #fleeting #unfinished #unformed
HEALTH vs DOMINANCE
Reproducing the AWS Outage Race Condition with a Model Checker
#HackerNews #Reproducing #AWS #Outage #Race #Condition #Model #Checker #Concurrency #TechNews
crossfire-rs - A lockless mpmc/mpsc to support async base on crossbeam - by frostyplanet:
https://github.com/frostyplanet/crossfire-rs
Benchmarks look really impressive! 🤯
(Quite) A few words about async
https://yoric.github.io/post/quite-a-few-words-about-async/
#programming #concurrency #python #go #rust #javascript #blog
Crossfire: High-performance lockless spsc/mpsc/mpmc channels for Rust
https://github.com/frostyplanet/crossfire-rs
#HackerNews #Crossfire #Rust #lockless #channels #performance #concurrency #programming
🚀 Breaking news: #SQLite isn't perfect! 🎉 In a shocking revelation, this article implores you to care about things like "concurrency" as if you didn't already have enough to worry about with your app's 1-star reviews. 🙄 If you survived 2025 without your world crumbling due to database design flaws, congrats, you're the real #MVP. 🎊
https://jellyfin.org/posts/SQLite-locking/ #Concurrency #DatabaseDesign #AppReviews #HackerNews #ngated
SQLite concurrency and why you should care about it
https://jellyfin.org/posts/SQLite-locking/
#HackerNews #SQLite #Concurrency #SQLite #Performance #Database #Management #Tech #Insights
The great trick of tokio::select! is that all non-completed futures are dropped. So any borrows they had are released, freeing you to take a mutable borrow while handling the one future that completed.
So if you had two futures that borrowed self.foo & self.bar respectively, once the first completes you can handle the result using self.handle(&mut self, ...) because all futures holding references to self are dropped.
Redis-Automerge - by Michel Pelletier
https://github.com/michelp/redis-automerge
A #Redis module (written in #Rust :ferris:) that integrates #Automerge #CRDT (Conflict-free Replicated Data Type) documents into Redis, providing JSON-like document storage with automatic conflict resolution.
This looks like an incredible tool for testing concurrent #Java code: https://github.com/cmu-pasta/fray
Also has research papers published and some presentations (now on my To Watch list!).
I have expertise with multi-threading and concurrency issues in software. Designing for ways to do that stuff right, and identifying when legecy code is doing it wrong, and then fixing it.
I know why folks coined the term "race" to mean what it means, in software context. I get it. And it makes sense. But I've always been uncomfortable with it. Why? Because it makes it *hard* to talk about, safely, in public, when your words might be stumbled across later and taken "out of context" *especially* by a trigger-happy liberal bully, or an ethnic minority person who might be feeling sensitive.
"He is such a racist! Look at his own words!"
So I'm hoping to coin a different term and get folks to use it instead:
*malconcurrency*
Per it roots: *bad* concurrency... get it? Like malware.