Originally posted by alcalde
View Post
Announcement
Collapse
No announcement yet.
Linux Foundation To Host PaSh For Automatic Parallelizing Of Shell Scripts
Collapse
X
-
Originally posted by alcalde View Post
- Likes 1
Leave a comment:
-
Originally posted by uid313 View PostI don't know if this is so useful, shell scrips are good when they're a few lines long, once you outgrow that maybe it is time to go over to Python instead.
- Likes 2
Leave a comment:
-
This doesn't parallelize "POSIX shell scripts". It parallelizes Bash scripts and doesn't do anything people couldn't do manually if they were better at writing bash scripts.
Leave a comment:
-
Seems like race conditions waiting to happen? Also... you'll take my zsh environment away when you pry it from my cold, dead hands.
Leave a comment:
-
Originally posted by uid313 View PostI don't know if this is so useful ...
Most shell scripts, which require parallelisation already use xargs. Then there is GNU Make, which has been used for decades to implement parallelisation around shell commands, not to mention GNU Parallel itself, and distcc, which serve similar purposes. So it is not like one could not already have parallelisation.
- Likes 4
Leave a comment:
-
Originally posted by discordian View PostWow, now I seen everything. How does the optimizer know side effects of instantiated tools, what are the kinds of use cases?
I did just generate and run makefiles if I had multiple task, but given how most shell logic is dynamic string expansion, I find this really hard to break up in a good way without specific input.
- Likes 3
Leave a comment:
-
Wow, now I seen everything. How does the optimizer know side effects of instantiated tools, what are the kinds of use cases?
I did just generate and run makefiles if I had multiple task, but given how most shell logic is dynamic string expansion, I find this really hard to break up in a good way without specific input.
- Likes 2
Leave a comment:
-
It'd be really interesting I bet to look into how they're doing it. My first expectation was that this would be a racey bug-ridden mess. Raw POSIX shell can already be a PITA.
- Likes 1
Leave a comment:
-
I'll have to look into this. At first glance, it seems like something that would require each subprocess invocation to be annotated with information on whether it has side-effects that need to be observable by later steps.
Leave a comment:
Leave a comment: