StructuredConcurrency icon indicating copy to clipboard operation
StructuredConcurrency copied to clipboard

Possibly update README.md to provide basic problem statement?

Open DWAK-ATTK opened this issue 2 years ago • 4 comments

@StephenCleary - I arrived here after your answer on SO (https://stackoverflow.com/a/76644501/22196111). I'll definately be studying what you have here... but currently I'm not sure what problem your StructuredConcurrency library is supposed to be solving. You mention in the SO answer "rather than just throwing them on the thread pool". I'm not sure why using the ThreadPool is a bad idea.

If you get to it, I appreciate it. Thanks.

DWAK-ATTK avatar Jul 08 '23 21:07 DWAK-ATTK

Sounds very similar to Unitask https://github.com/Cysharp/UniTask

studentutu avatar Jul 26 '23 21:07 studentutu

I do plan to add some docs. It's completely different than UniTask, both in the problem to solve and the solution technique.

StephenCleary avatar Jul 26 '23 22:07 StephenCleary

To my POV, it's sound more like manipulate Threads. Look at https://github.com/Mafyou/Plankton to see how I used his work to make a game =D For you it's "Thread Pool" and launch when you want. Rather here, it's more like "Pool" en go together to the ressource X.

Mafyou avatar Jul 26 '23 22:07 Mafyou

This is the classic article explaining the point of structured concurrency, by the author of Trio which is the Python library that popularised it:

https://vorpus.org/blog/notes-on-structured-concurrency-or-go-statement-considered-harmful/

arthur-tacca avatar Sep 10 '23 08:09 arthur-tacca