#concurrency

Snapp Mobile iOS Newsletterios_newsletter_snapp
2025-12-11

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.

🔗: massicotte.org/combine-annotat by Matt Massicotte (@mattiem)

2025-12-08

joerl :: довёл до рабочей версии

joerl — это библиотека модели акторов для Rust, вдохновленная Erlang и названная в честь Джо Армстронга , создателя Erlang. Если вам когда-либо приходилось строить конкурентные системы на Erlang/OTP и вы думали: «Эх, был бы здесь хоть намек на систему типов», — то вот она, ваша прелесть. Я начинал этот проект просто потренироваться в расте немного, но меня затянуло и я довел ее более-менее до ума. Сам я на расте писать буду вряд ли, если кто-то ближе к телу захочет попробовать — буду признателен. Публикую сейчас, потому что свободное время у меня заканчивается, много допилов в ближайшее время ждать не стоит, основную функциональность, которую хотел, я сделал, а карму мне скоро выкрутят в минус и придётся публиковаться через песочницу. Релиз с distribution и телеметрией

habr.com/ru/articles/974660/

#actor_model #concurrency #otp #supervision_tree #distributed_systems

2025-12-05

Lỗi khóa phân tán (Distributed Lock Failure): GC pause dài (>10s) trong Java có thể khiến một tiến trình bị dừng, khóa phân tán hết hạn. Tiến trình khác có thể lấy khóa, dẫn đến hai tiến trình cùng thực hiện thao tác quan trọng (ví dụ: rút tiền hai lần từ một tài khoản). Vấn đề thường gặp trên hệ thống có heap lớn.
#DistributedSystems #GC #Java #Concurrency #Programming #HệThốngPhânTán #LậpTrình #JavaGC #ĐồngThời

reddit.com/r/programming/comme

2025-12-02

Hai nhà sáng lập đang tìm kiếm phản hồi kỹ thuật cho engine đồng thời mới, đạt độ trễ đọc dưới micro giây và có thể mở rộng hơn 50 triệu node. Họ cần góp ý từ các chuyên gia hệ thống, đồ thị, CSDL.

#CôngNghệ #Engine #ĐồngThời #HiệuNăngCao #PhảnHồiKỹThuật #Tech #Concurrency #Performance #SystemDesign #Database

reddit.com/r/programming/comme

Snapp Mobile iOS Newsletterios_newsletter_snapp
2025-12-02

Should 𝘔𝘢𝘪𝘯𝘈𝘤𝘵𝘰𝘳 be your default in Swift 6.2? A deep dive into main thread isolation - understanding when it's needed and when to remove it is the harder question.

🔗: massicotte.org/blog/mainactor- by Matt Massicotte (@mattiem)

2025-12-02

From 14:00 to 15:30 on Thursday, December 11, the correspondance between internal mobility and agent-passing calculi will be discussed in the PLSL reading group. The material to be read before the meeting is sections 6-9 of Davide Sangiorgi, "π-Calculus, internal mobility, and agent-passing calculi", Theoretical Computer Science, Volume 167, Issues 1–2, 1996, Pages 235-274.

plsl.acp.sdu.dk/posts/2025-12-

#PLSL #programmingLanguages #semantics #concurrency #functionalProgramming

Derick Rethansderickr@phpc.social
2025-11-25

@ramsey My comment on the "call for working group" explains my big issue with it:

«I believe this "working group" already starts on the wrong foot with even the definition of "Stage 1".

Its first purpose ought to be: "What is the most single basic thing for most of the PHP users."

Launching straight into the intricacies of implementation isn't a constructive way forward, IMO.»

github.com/true-async/php-true

#php #async #concurrency

2025-11-25

Khám phá bài viết phân tích chi tiết các lỗi truy cập dữ liệu (data race) phổ biến trong Go và cách tránh chúng. Tác giả /u/broken_broken_ trên Reddit chia sẻ góc nhìn về rủi ro và bài học khi lập trình đa luồng. #GoLang #Concurrency #LapTrinhGo #DataRace

[None]

reddit.com/r/programming/comme

2025-11-25

kitfucoda.medium.com/the-concu

"What can we do with asynchronous programming?" That was the question that kicked off my latest project. My OBS heart rate widget had been broken for months, and solving it meant tackling a huge technical challenge: bridging a fast, asynchronous Bluetooth data stream with a slow, blocking synchronous OBS WebSocket client. It became the perfect real-world test for Python's concurrency tools.

The problem started with vendor lock-in. After my old Fitbit died, I moved to a Garmin Instinct II, whose heart rate broadcasts via standard Bluetooth Low Energy (BLE). This shift from a proprietary API to an open interface was the critical first step. It enabled me to easily capture the data using the bleak library, setting up my asynchronous producer.

The core challenge lay in the Producer-Consumer pattern. My async producer needed to feed the synchronous consumer (the OBS client) without blocking the entire event loop. The solution was to delegate the blocking I/O using asyncio.to_thread and then separate the components entirely using threads and a queue for synchronization. This allowed both the fast BLE communication and the slower OBS updates to work independently and reliably.

So, is this project a good example of what asyncio is capable of? Absolutely. It shows that even when not all components are asynchronous, it is still possible to create a reliable and non-blocking workaround. Check out the full breakdown, including the code snippets and my thoughts on the future of open hardware development!

#Python #Asyncio #Concurrency #BluetoothLowEnergy #SoftwareDevelopment #OBS

N-gated Hacker Newsngate
2025-11-24

🔧🚗 Rust's showdown: Who will reign supreme? Find out by... enabling and cookies! 🍪🔒 Because nothing says cutting-edge like a good old browser settings tweak. 🙃
blog.cuongle.dev/p/inside-rust

2025-11-24

Java. Многопоточность для самых маленьких. Часть 1

Всем привет! Многопоточность в Java не стоит на месте, а многие до сих пор используют только synchronized и создают потоки через new Thread() . С этого дня я запускаю серию уроков по современной многопоточности: как её правильно строить, в чём преимущества новых подходов по сравнению со старыми и что из классики всё ещё стоит использовать. Постараюсь объяснять максимально просто и наглядно, чтобы уроки были полезны и стажёрам, которые только начинают разбираться в теме, и опытным разработчикам, которым интересно узнать современный стиль работы с потоками. Поехали!

habr.com/ru/articles/969820/

#java #multithreading #virtual_threads #concurrency #многопоточность #виртуальные_потоки #обучение #обучение_программированию

Haseeb Rajahaseebraja
2025-11-23

0/10 Go's memory model defines the rules for safe concurrency. Ignore and your programs will have pesky & unpredictable bugs. This thread explains how to write code that guarantees visibility between goroutines. Credits to Serge Skoredin for the insights.

2025-11-23

Khóa học về đồng thời và song song: Concurrency và Parallelism là gì? Concurrency là xử lý nhiều việc một lúc, trong khi Parallelism là làm nhiều việc cùng một lúc. Hiểu được sự khác biệt này giúp cải thiện khả năng mở rộng của SAAS #Concurrency #Parallelism #SAAS #Scalability #LậpTrình #PhátTriểnngDụng #TăngNăngSuất #ĐồngThời #SongSong

reddit.com/r/SaaS/comments/1p4

Angelo Theodorou :amiga:encelo@mastodon.gamedev.place
2025-11-20

After three months of work, my presentation on the nCine multi-threaded job system is finally online.
Concurrency basics, atomics, acquire/release, false sharing, ABA, CPU topologies, ECS experiments, benchmarks & profiling.
encelo.github.io/nCine_JobSyst

#gamedev #cpp #concurrency #multithreading #ECS #nCine #GameEngine #opensource #indiegamedev

Smiling KenshiSmilingKenshi
2025-11-19

What do robot toddlers and coloring pages teach us about data races? First in a series building concrete mental models for Swift Concurrency. Feedback welcome!

krishna.github.io/posts/unders

Snapp Mobile iOS Newsletterios_newsletter_snapp
2025-11-19

Notifications crashing with concurrency errors? Replace unsafe 𝑛𝑜𝑡𝑖𝑓𝑦() calls with 𝘔𝘢𝘪𝘯𝘈𝘤𝘵𝘰𝘳𝘔𝘦𝘴𝘴𝘢𝘨𝘦 and 𝘈𝘴𝘺𝘯𝘤𝘔𝘦𝘴𝘴𝘢𝘨𝘦. Thread-safe, modern, and built for async/await.

🔗 avanderlee.com/concurrency/mai by Antoine van der Lee (@swiftlee)

Snapp Mobile iOS Newsletterios_newsletter_snapp
2025-11-19

Why don't SwiftUI tasks re-run when your view properties change? Task identity is the key to understanding dependency tracking. Master this concept and predict async behavior with confidence.

🔗 chris.eidhof.nl/post/swiftui-t by Chris Eidhof

JAVAPROjavapro
2025-11-18

Your @jakartaee app is async—but are you still leaking threads? With , you get:

✔️ ManagedExecutorService
✔️ ContextService for safe context flow
✔️ ManagedThreadFactory

Gautham Krishnan shows how to use them right: javapro.io/2025/09/02/navigati

@OpenLibertyIO

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst