TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Cr – Runs your tasks at maximum concurrency

83 pointsby cirowrcover 7 years ago

12 comments

znpyover 7 years ago
That's what make has been doing for the last like 40 years.
评论 #15952972 未加载
评论 #15954710 未加载
评论 #15952313 未加载
评论 #15952890 未加载
jchwover 7 years ago
Everyone is going to compare it to Make, but it's not like Make syntax is ideal or consistent; I can see this being especially useful when using it in part of a pipeline, where maybe the YAML is generated elsewhere.
评论 #15952234 未加载
评论 #15952236 未加载
jlebrechover 7 years ago
I miss read this, I thought it was an implementation of workers with a dependency graph.<p>for similar projects look at:<p>Bazel <a href="https:&#x2F;&#x2F;bazel.build&#x2F;" rel="nofollow">https:&#x2F;&#x2F;bazel.build&#x2F;</a><p>Tup <a href="http:&#x2F;&#x2F;gittup.org&#x2F;tup&#x2F;" rel="nofollow">http:&#x2F;&#x2F;gittup.org&#x2F;tup&#x2F;</a><p>Make <a href="https:&#x2F;&#x2F;www.gnu.org&#x2F;software&#x2F;make&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.gnu.org&#x2F;software&#x2F;make&#x2F;</a>
EdSchoutenover 7 years ago
What about Ninja? <a href="https:&#x2F;&#x2F;ninja-build.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;ninja-build.org&#x2F;</a>
gabrielcsapoover 7 years ago
This is awesome. I have been working on something similar, but added a UI to visualize the tasks and the order they ran in.<p><a href="https:&#x2F;&#x2F;www.gabrielcsapo.com&#x2F;build.sh&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.gabrielcsapo.com&#x2F;build.sh&#x2F;</a>
stephenrover 7 years ago
So, `make -j`?
评论 #15952153 未加载
gyoubuover 7 years ago
Looks nice! Will inspire my project as well. Made something recently as well which is based on the same principle. A simple parallel&#x2F;sequential task runner which has built in retries and allows steps to be continued even if they return errors.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;abelmokadem&#x2F;scriptz" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;abelmokadem&#x2F;scriptz</a>
peterwwillisover 7 years ago
I&#x27;m sure somebody has a use for this. But with no scheduler tuning, no prioritization, no dynamic configuration, no multiprocess logic, etc it&#x27;s effectively just &quot;xargs&quot; with dependency tracking, written in Go. And I&#x27;m pretty sure you can do this with Ansible.
评论 #15953657 未加载
jitlover 7 years ago
A co-worker of mine recently implemented something very similar.<p>Our major feature over Make was emitting events as newline separated JSON, so that a downstream process can visualize them in a pretty way, track progress, etc.<p>We use ours run multiple Chef recipes in parallel.
jdrightover 7 years ago
I thought it was related to this:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;fungos&#x2F;cr" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;fungos&#x2F;cr</a><p>It was recently over Twitter.
redshirtover 7 years ago
The nice clean dependency graph is pretty cool. Not having tabs and spaces as an integral part of syntax, priceless.
yellowappleover 7 years ago
License?