Skip to main content
17 events
when toggle format what by license comment
Mar 25, 2024 at 3:13 comment added David Souther You know... I have no idea what I was saying 12 years ago in a comment on stack overflow. But definitely was along the lines of what @ChristianBongiorno said- easy to get started, difficult to impossible to handle complex synchronization. For the record, I'd still stick with "are you sure bash is the right tool for your problem" but then I'd suggest Rust in the absence of existing implementation constraints over C.
Mar 24, 2024 at 14:33 comment added hraban @DavidSouther would love to hear some specific examples because bash is probably the only popular language that has sane parallel computation handling. Pipelines are so intuitive, people using them don't even know they're writing a parallel program. Meanwhile I couldn't imagine a worse language than C in which to do it.
Jan 12, 2024 at 20:13 answer added profPlum timeline score: 4
Oct 4, 2023 at 11:25 answer added Rugnar timeline score: 5
Sep 11, 2020 at 16:26 answer added graeme vetterlein timeline score: 4
Feb 28, 2019 at 17:38 comment added Joshua Goldberg Also discussed in unix.stackexchange.com/questions/158564/…
Feb 8, 2019 at 0:50 comment added Christian Bongiorno @DavidSouther - I am a long time Java dev and I have been working in groovy of late. And I continue to tell people: Friends don't let friends write bash script. And yet, I find myself looking at this post/solution because (sad face :( ) I am engaged in parallel processing in bash. I could readily do it in groovy/java. Bad!
Dec 14, 2017 at 22:11 history edited codeforester
edited tags
Dec 14, 2017 at 21:56 history edited codeforester CC BY-SA 3.0
deleted 5 characters in body; edited title
Dec 2, 2017 at 1:01 answer added xdhmoore timeline score: 3
Jun 22, 2016 at 11:56 answer added Eremite timeline score: 20
Feb 26, 2014 at 15:41 comment added ctrl-alt-delor @DavidSouther If the tasks are independent, such as convert all these picture files to png, then don't worry. It is when you have synchronisation (beyond wait for all to finish) and communication that it gets messy.
Mar 3, 2013 at 19:40 history edited Flow
Not linux specific
Jun 13, 2012 at 1:28 vote accept fac3
Jun 12, 2012 at 19:44 comment added David Souther Danger, user1148366, Danger! Don't use bash for parallel programming- you will run into so many problems. Use C/C++ and pthreads, or Java threads, or anything that makes you think long and hard about what you're doing, because parallel programming takes a lot of thought to get right.
Jun 12, 2012 at 19:26 answer added Dennis Williamson timeline score: 268
Jun 12, 2012 at 19:23 history asked fac3 CC BY-SA 3.0