-
Notifications
You must be signed in to change notification settings - Fork 17
Description
What are future plans for "thredo" you ask? It's hard to say... thredo originally started out being secretly contained within the Curio project. Almost all of the underlying machinery is an extension of Curio async threads. However, one downside I found having this in Curio was a sort of "conceptual head explosion" while looking at the resulting code. There were too many layers of abstraction mixed together in the same code base.
I decided to split this out to have more of a clean separation of ideas. Curio is an async-library. Everything you see there is pretty much async/await and assumes that you are programming in the async world. Thredo is a thread-library. Everything you see using thredo appears as normal synchronous code without any mention of async/await. The fact that it's implemented on top of Curio should be seen as more of an incidental detail.
In any event, for now, I'm going to keep it as a separate library. It's not a large library. I supposed there's always a chance I might fold it back into the Curio project, but for now I prefer the separation of ideas.