4 ms·
GNU parallel is pretty cool. Another little thing I realized a while back is that `make` (yes the crusty old make + -j flag) can be used to parallelize jobs. W
by rdtsc 10y ago
GNU parallel is pretty cool.
Another little thing I realized a while back is that `make` (yes the crusty old make + -j flag) can be used to parallelize jobs. We do it for compiling usually, but it can be used for other jobs as well.
- ole_tange 10y agoFun fact: GNU Parallel was originally a wrapper script that used `make` for the parallelization: https://www.gnu.org/software/parallel/history.html https://www.gnu.org/software/parallel/history.html
- rdtsc 10y agoHa! Really cool. That was a fun fact! Make was right there under my nose I just never imagined using it for anything but compiling and building things. In that case I was forced by circumstances (was developing on a constrained ancient version of RHEL), couldn't use GNU Parallel and someone suggested `make`. The use case of obvious once a co-worker mentioned it. But it was definitely It was one of the memorable "thinking outside the box" example as they say.