Hacker News new | ask | show | jobs
by akramer 2653 days ago
Each time I've seen something about GNU parallel pop up I've been tempted to post, but I've never made an account until now.

I wrote a very different style of command parallelizer that I named lateral. It doesn't require constructing elaborate commandlines that define all of your work at once. You start a server, and separate invocations of 'lateral run' add your commands to a queue to run on the server, including their filedescriptors. It makes for easier parallelization of complex arguments.

Take a look if this sort of thing interests you, as I haven't seen anyone write one like this before. Its primary difference is the ease with which each separate command can output to its own log, and the lack of need to play games with shell quoting and positional arguments.

Check it out: https://github.com/akramer/lateral

2 comments

I think it is good you finally made an account: How are people going to find your software if you do not tell them about it :)

Can you make a comparison between lateral and sem?

https://www.gnu.org/software/parallel/sem.html

This looks neat! Much <3 for using Golang and YAML.

Can a single lateral server queue be used across multiple host machines? And in the other direction, can lateral launch and monitor processes that reside across multiple machines?