Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved the sales pitch #246

Merged
merged 2 commits into from
Mar 23, 2021
Merged

Improved the sales pitch #246

merged 2 commits into from
Mar 23, 2021

Conversation

agronholm
Copy link
Owner

No description provided.

@agronholm agronholm added the documentation Requires additions or changes to the documentation label Mar 22, 2021
@lewoudar
Copy link
Contributor

One thing that amazed me with trio is how we can write less to achieve the same result as opposed to other frameworks, so one thing you can do is to link to an example showing how asyncio can be tricky to use compared to anyio, for example an happy eye ball implementation or an udp service.

@agronholm
Copy link
Owner Author

Asyncio does have a happy eyeballs implementation though (in Python 3.8+).

@agronholm
Copy link
Owner Author

agronholm commented Mar 23, 2021

But yeah, but are probably worth mentioning on the feature list.

@smurfix
Copy link
Collaborator

smurfix commented Mar 23, 2021

Asyncio now has a 150+ line Happy Eyeballs implementation which, while shorter/more correct/more comprehensive than previous attempts to write this, still contains a lot of code that is a "poor man's version of curio's TaskGroup or trio's nursery" (this is a direct quote from their code) and which happens to drop exceptions on the floor left and right – instead of, like, a real taskgroup.

@agronholm
Copy link
Owner Author

I've mentioned both now, but frankly I am starting to feel too mentally exhausted at this point to write examples in the README (and I'm not 100% convinced that it's the right place to do it).

@lewoudar
Copy link
Contributor

I don't also think that the examples must be written in the README, I was thinking of creating a folder in the repository with examples and put a link to it

@agronholm
Copy link
Owner Author

The documentation has a number of examples in it but one would have to go looking for them specifically.

Anyway, I'm gonna merge this and get back to writing more examples if I can figure out where they should go so that prospecting users would easily find them.

@agronholm agronholm merged commit 5473882 into master Mar 23, 2021
@agronholm agronholm deleted the better-readme branch March 23, 2021 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Requires additions or changes to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants