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

Add cross-compatibility functionality between backends #251

Open
agronholm opened this issue Apr 4, 2021 · 2 comments
Open

Add cross-compatibility functionality between backends #251

agronholm opened this issue Apr 4, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@agronholm
Copy link
Owner

It would be really awesome to be able to run your app on trio while still retaining the ability to spawn asyncio tasks or calling asyncio coroutines. I'm not sure how far trio's guest mode will take us, but this is definitely worth exploring. The trio-asyncio library should give us some clues on how to accomplish this.

Potential features we would like to have:

  • A way to spawn asyncio tasks from any backend
  • A way to call asyncio coroutines from any backend
  • A way to use synchronization primitives across backends
@agronholm agronholm added the enhancement New feature or request label Apr 4, 2021
@smurfix
Copy link
Collaborator

smurfix commented Apr 5, 2021

Huh. Guest mode on top of asyncio should be easy enough. The interesting bit is whether we can do it without a separate OS thread.

@agronholm agronholm added this to the 3.1 milestone Apr 7, 2021
@agronholm agronholm removed this from the 3.x milestone Oct 18, 2022
@davidbrochart
Copy link
Contributor

It seems that this functionality is not planned anymore?
What about guest mode on top of asyncio?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants