🚀 Swift 6.2 Tip! All SwiftUI Views are now implicitly @MainActor isolated.
Got a warning using a View property inside a @Sendable closure? That's because it might run on a background thread.
The fix: Explicitly capture a copy of the property 💡
🚀 Swift 6.2 Tip! All SwiftUI Views are now implicitly @MainActor isolated.
Got a warning using a View property inside a @Sendable closure? That's because it might run on a background thread.
The fix: Explicitly capture a copy of the property 💡
Klassische Threads stoßen in #Java schnell an Ressourcenlimits & machen Fehlerbehandlung komplex. #VirtualThreads in #Java21 versprechen Skalierbarkeit & klarere #Concurrency-Konzepte.
Nutze die Vorteile im eigenen Code. Lese Merlin Bögershausens Artikel: https://javapro.io/de/mehr-action-mehr-uebersicht/
The desire to use #concurrency must be clearly indicated in the code. Without this, MainActor isolation ensures your code always runs on the main thread.
Even if you use an external API that sends tasks to the background, the code will eventually return to the main thread.
3/5
He’ll explain what Rust’s ordering rules (`Relaxed`, `Acquire`, `SeqCst`, etc.) actually mean, and how they show up in the concurrency crates you use every day.
#RustLang #Concurrency #MemoryModel
🧵 2/3
Como Go mudou o uso de concorrência.
Via Semana Go / @eltonminetto.dev
medium.com/@ashishkhura...
#golang #concurrency #goroutines
From Scarcity to Abundance: Ho...
If you care about Rust and concurrency, you’ll want to see this.
➡️ https://eurorust.eu/talks/deadlock-detection/?utm_source=mastodon&utm_medium=social&utm_campaign=25-06-26-speaker-horacio-scaffino
#RustLang #Concurrency #RustTools
🧵2/3
I am playing with #libstdexec, I used a static thread pool and bulk. The problem is that the workload is not uniform. For some inputs, there is next to no work to be done.
When this happens, the mechanism inside the scheduler is dominating my profiling.
What I really want is something like adaptive workload splitting.
Any ideas? #cpp #cplusplus #programming #concurrency
Now @oughtputs speaking at @brightonruby about #Concurrency in #Rails.
#rubyonrails #RubyProgramming #brightonruby2025 #brightonruby
TIL nothing works as you would expect:
https://www.cybertec-postgresql.com/en/select-for-update-considered-harmful-postgresql/
Concurrency Concept: Say you have two threads trying to access the same bytes.
Instead of a lock, both threads can reserve a specific time interval, in which they are allowed to access the memory area. So the access timeline would look something like this (t1 and t2 being the timeframe's the respective threads can access it): t1 | t2 | t1 | t2 | ...
"The best way to approach concurrency is to master the fundamentals" #scala #concurrency https://lukastymo.com/posts/022-concurrency-basic-synchronization/
@noboilerplate THIS!
I think a lot of people inadvertently assume async #RustLang is so different from sync Rust, because the way it is - when in fact it's because of the (most popular) async runtime they're using.
We should look way more into alternative #async runtimes to #Tokio, e.g. smol:
https://floss.social/@janriemer/111669258656959538
#Smol allows you to use non-'static Futures by using a local executor:
https://floss.social/@janriemer/111669668856899636
It looks a lot more like "normal" #Rust.
Paging #Swift #Concurrency experts! Is there any way to leverage KVO to synchronously update a property in one class in response to a change in another?
Note that both `MyClass` and `AVPlayer` are `@MainActor`, so I think this should be a safe thing to want to do... I just don't know how to do it!
cc @mattiem
EDIT: is this a good use case for `MainActor.assumeIsolated`?
Faster Python: Concurrency in async/await and threading: https://blog.jetbrains.com/pycharm/2025/06/concurrency-in-async-await-and-threading/
The Concurrency Trap: How an Atomic Counter Stalled a Pipeline
https://www.conviva.com/platform/the-concurrency-trap-how-an-atomic-counter-stalled-a-pipeline/
#HackerNews #Concurrency #Trap #Atomic #Counter #Pipeline #Performance
Faster Python: Concurrency in async/await and threading
#Pycharm #Howtos #Tutorials #Webdevelopment #Concurrency #Python
https://blog.jetbrains.com/pycharm/2025/06/concurrency-in-async-await-and-threading/
GPUMC: A Stateless Model Checker for GPU Weak Memory Concurrency
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