troet.cafe ist Teil eines dezentralisierten sozialen Netzwerks, angetrieben von Mastodon.
Hallo im troet.cafe! Dies ist die derzeit größte deutschsprachige Mastodon Instanz zum tröten, neue Leute kennenlernen, sich auszutauschen und Spaß zu haben.

Verwaltet von:

Serverstatistik:

7,1 Tsd.
aktive Profile

Mehr erfahren

#concurrency

5 Beiträge5 Beteiligte1 Beitrag heute

Swift 6.1 Launches with Enhanced Concurrency and Package Management Features

The release of Swift 6.1 brings significant enhancements aimed at improving developer productivity, including advanced concurrency features and package traits that adapt to different environments. The...

news.lavx.hu/article/swift-6-1

#news#tech#Concurrency

Here's a thrilling odyssey of a C/C++/Rust acolyte discovering that Haskell—yes, 💀 #HASKELL 💀—can do concurrency! Who knew that "self-indulgent academic baloney" could also be "fast, simple, correct"? 🙄 Get ready for groundbreaking insights that will inevitably make you reconsider every life choice you've ever made about #concurrency. 🥱
bitbashing.io/haskell-concurre #Cplusplus #Rust #ProgrammingInsights #TechOdyssey #HackerNews #ngated

Bit BashingConcurrency in Haskell: Fast, Simple, CorrectYet another programming blog. Thoughts on software and related misadventures.

kitfucoda.medium.com/concurren

Concurrency and parallelism are often confused in async programming discussions. Go's goroutines highlighted the difference: concurrency is doing many things at once, while parallelism is doing many things at the same time.

AsyncIO handles concurrency well for I/O, but CPU-bound tasks need parallelism. Python uses AsyncIO for concurrency, and ProcessPoolExecutor for parallelism, distributing work across CPU cores.

Process communication is harder than thread communication. AsyncIO's task cancellation differs from ProcessPoolExecutor's, requiring workarounds like event objects for reliable cancellation and shutdown.

Essentially, ProcessPoolExecutor enables parallelism for CPU-bound tasks, scaling them across multiple cores, while AsyncIO handles I/O concurrently.

Medium · Concurrency vs. Parallelism: Achieving Scalability with ProcessPoolExecutorVon KitFu Coda
#python#asyncio#concurrency
With the NWO XL consortium on Cyclic Structures in Programs and Proofs, we are looking for 6 highly motivated and talented PhD students starting in September (with some flexibility).

The topics range from Modal logic, proof theory, and coalgebras to Programming languages, concurrency, and type systems and Proof assistants (#Agda, #Rocq).

Information about the positions and application procedure can be found on the website:

cyclic-structures.gitlab.io/vacancies/

Please forward to any strong candidates you know!

#TypeTheory #ModalLogic #Concurrency #ProgrammingLanguages #TypeSystems #ProofAssistants #CyclicStructures #PhD #Netherlands #UniversityOfGroningen #LeidenUniversity #UniversityOfTwente #TUDelft #RadboudUniversity
Cyclic Structures in Programs and ProofsVacanciesVon Jorge Perez

Join also for #LibreQoS inside!

"🚀New date for @herberticus’ free webinar!

Communicate with Channels in #Rust

🎯Secure your seat now! 👉eventbrite.com/e/communicate-w

In this webinar, we’ll explore Rust’s std::sync::mpsc, Tokio, & Flume channels, covering bounded vs. unbounded channels, try_send, & techniques for handling backpressure.🦀" @ardanlabs
📅 Thursday, April 3rd | 12pm–1pm EST
🌍 Online - Remote
👨‍🏫 Instructor: Herbert Wolverson

Python and concurrency are a pain. I'm trying to read the Raspberry Pi camera and send mouse coordinates via USB.

If I try to send mouse coordinates via USB in the same thread, it slows the raspberry pi camera FPS from 70 -> 40. Same problem if I try to use different threads via 'threading', 'asyncio' or 'multiprocessing' API.

It works fine if I run two completely separate Python scripts. 75 fps, and 100 fps in mouse script.

Maddening!