It's a pity Go didn't have structured concurrency: https://vorpus.org/blog/notes-on-structured-concurrency-or-go-statement-considered-harmful/ There's a library for it: https://github.com/sourcegraph/conc But this goes to one of the things I've been kind of banging on about languages, which is that if it's not in the language, or at least the standard... - Source: Hacker News / about 1 month ago
What are possible use cases for this tool? Why would I want to find out the total runtime of all videos in a directory? Also, you might wanna limit concurrency[0] instead of spawning many ffprobe instances at the ~same time. [0]: https://github.com/sourcegraph/conc In another note, ChatGPT suggests this shell command to do the same thing. It doesn't process files... - Source: Hacker News / 8 months ago
While virtual threads will be stable in Java 21, Structured Concurrency is still a preview feature. You probably won't see it in production anytime soon. Preview features require a special flag when compiling and running them, and they won't run on newer versions of the JVM. I don't expect to see StructuredTaskScope in common production use before the next LTS version is out. But it doesn't mean you cannot have... - Source: Hacker News / 11 months ago
I'm also a fan of Conc for managing various different concurrency patterns -- don't create manual worker pools for locally distributed tasks if you can use Conc, etc. Source: 11 months ago
I will probably be using more conc too now. Lots of great primitives for dealing with multiple functions returning the same types or errors etc. Source: about 1 year ago
You want a fast asynchronous development use a library I recommend https://github.com/sourcegraph/conc. Source: about 1 year ago
Do you know an article comparing Conc to other products?
Suggest a link to a post with product alternatives.
This is an informative page about Conc. You can review and discuss the product here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.