top | item 41651971

(no title)

cxx | 1 year ago

This looks very promising, it's refreshing to see a library with a sane interface.

One thing I'd like to see is the possibility to run the coroutines in the main thread, without spawning any new threads in the thread pool. It might seem strange but sometimes you just need to do I/O stuff concurrently in a place where you're not allowed to spawn other threads.

Other than that congrats on the release, I hope you keep working on it!

discuss

order

singledigits|1 year ago

Thank you for your feedback and appreciation.

During development, I initially tried implementing coroutines in a way that executing them without spawning a new thread would be possible. However, it introduced complications, so I eventually scrapped that approach.

Now, with eye on potential improvements, I can revisit this idea from the perspective of I/O operations.