veganism.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Veganism Social is a welcoming space on the internet for vegans to connect and engage with the broader decentralized social media community.

Administered by:

Server stats:

233
active users

#parallelism

0 posts0 participants0 posts today
Jeffrey04<p><a href="https://kitfucoda.medium.com/concurrency-vs-parallelism-achieving-scalability-with-processpoolexecutor-c366bfcc6207" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">kitfucoda.medium.com/concurren</span><span class="invisible">cy-vs-parallelism-achieving-scalability-with-processpoolexecutor-c366bfcc6207</span></a></p><p>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.</p><p>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.</p><p>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.</p><p>Essentially, ProcessPoolExecutor enables parallelism for CPU-bound tasks, scaling them across multiple cores, while AsyncIO handles I/O concurrently.</p><p><a href="https://hachyderm.io/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://hachyderm.io/tags/asyncio" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>asyncio</span></a> <a href="https://hachyderm.io/tags/concurrency" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>concurrency</span></a> <a href="https://hachyderm.io/tags/parallelism" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>parallelism</span></a> <a href="https://hachyderm.io/tags/multiprocessing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>multiprocessing</span></a> <a href="https://hachyderm.io/tags/opentowork" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>opentowork</span></a> <a href="https://hachyderm.io/tags/getfedihired" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>getfedihired</span></a> <a href="https://hachyderm.io/tags/fedihire" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fedihire</span></a> <a href="https://hachyderm.io/tags/opentowork" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>opentowork</span></a></p>
C++Now<p>C++Now 2025 SESSION ANNOUNCEMENT: Parallel Range Algorithms - The Evolution of Parallelism in C++ by Ruslan Arutyunyan</p><p><a href="https://schedule.cppnow.org/session/2025/parallel-range-algorithms/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">schedule.cppnow.org/session/20</span><span class="invisible">25/parallel-range-algorithms/</span></a></p><p>Register now at <a href="https://cppnow.org/registration/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">cppnow.org/registration/</span><span class="invisible"></span></a></p><p><a href="https://mastodon.social/tags/algorithms" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>algorithms</span></a> <a href="https://mastodon.social/tags/cplusplus" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cplusplus</span></a> <a href="https://mastodon.social/tags/cpp26" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cpp26</span></a> <a href="https://mastodon.social/tags/parallelism" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>parallelism</span></a></p>
Paul Houle<p>🏃‍♀️ High-performance computing, with much less code</p><p>(... back in my business development days I was interested in "rules and schemes" that would separate what is to be done with how it should be done)</p><p><a href="https://news.mit.edu/2025/high-performance-computing-with-much-less-code-0313" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">news.mit.edu/2025/high-perform</span><span class="invisible">ance-computing-with-much-less-code-0313</span></a></p><p><a href="https://mastodon.social/tags/computing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>computing</span></a> <a href="https://mastodon.social/tags/software" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>software</span></a> <a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://mastodon.social/tags/languages" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>languages</span></a> <a href="https://mastodon.social/tags/hpc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>hpc</span></a> <a href="https://mastodon.social/tags/parallelism" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>parallelism</span></a></p>
katsu<p>One of my top code review findings:<br>`parallelStream().forEachOrdered(...);`<br><a href="https://is-a.cat/tags/codereviews" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>codereviews</span></a> <a href="https://is-a.cat/tags/java" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>java</span></a> <a href="https://is-a.cat/tags/parallelism" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>parallelism</span></a></p>
Ivan Enderlin 🦀<p><a href="https://fosstodon.org/tags/weld" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>weld</span></a></p><p>To be fast, weld needs to link objects concurrently &amp; simultaneously. A few days ago, I’ve implemented a simple `ThreadPool` type, in the new `weld-scheduler` crate, <a href="https://github.com/Hywan/weld/blob/ea792c808887306acc6985bd71910fc35051a530/crates/scheduler/src/lib.rs" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/Hywan/weld/blob/ea7</span><span class="invisible">92c808887306acc6985bd71910fc35051a530/crates/scheduler/src/lib.rs</span></a>.</p><p>It’s able to send `Future`s on various threads where async workers execute them.</p><p>It’s done with smol, a light &amp; flexible set of crates to implement custom async runtimes, <a href="https://github.com/smol-rs/smol" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/smol-rs/smol</span><span class="invisible"></span></a>.</p><p>Next step: “Linker Strategy” to link things for real!</p><p><a href="https://fosstodon.org/tags/RustLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RustLang</span></a> <a href="https://fosstodon.org/tags/parallelism" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>parallelism</span></a> <a href="https://fosstodon.org/tags/concurrency" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>concurrency</span></a> <a href="https://fosstodon.org/tags/thread" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>thread</span></a></p>
dialecticDolt<p>Ahhhh <a href="https://mathstodon.xyz/tags/Introduction" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Introduction</span></a><br>I'm a phd student in <a href="https://mathstodon.xyz/tags/hpc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>hpc</span></a> and <a href="https://mathstodon.xyz/tags/computationalscience" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>computationalscience</span></a>. <br>Making computers go brrr for large scale data analytics (<a href="https://mathstodon.xyz/tags/clustering" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>clustering</span></a>, nearest neighbors, <a href="https://mathstodon.xyz/tags/imageprocessing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>imageprocessing</span></a>, <a href="https://mathstodon.xyz/tags/linearalgebra" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>linearalgebra</span></a>) &amp; dabble in tools for task based <a href="https://mathstodon.xyz/tags/parallelism" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>parallelism</span></a>. Hope to see some of ya'll @ <a href="https://mathstodon.xyz/tags/SC22" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SC22</span></a>! </p><p>I listen to more <a href="https://mathstodon.xyz/tags/ska" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ska</span></a> than is acceptable in 2022, and will lie about having better music tastes than the digimon movie soundtrack. @ me with loose leaf <a href="https://mathstodon.xyz/tags/tea" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tea</span></a> and <a href="https://mathstodon.xyz/tags/book" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>book</span></a> recs (always reading <a href="https://mathstodon.xyz/tags/fiction" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fiction</span></a> &amp; <a href="https://mathstodon.xyz/tags/webserials" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webserials</span></a>)</p>