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

async_ui as a tool for learning? #3

Open
rtavenner opened this issue Oct 9, 2022 · 1 comment
Open

async_ui as a tool for learning? #3

rtavenner opened this issue Oct 9, 2022 · 1 comment

Comments

@rtavenner
Copy link

Bearing in mind that I have no idea what I'm talking about, could this somehow be used to make a visual tool for learning async Rust? I'm thinking the learner creates a future, and can then visually inspect how it behaves.

Is there any merit to this idea, or is it nonsense?

@wishawa
Copy link
Owner

wishawa commented Oct 18, 2022

Something like that could work. Being based on async Rust, Async UI can be incorporated into existing async programs pretty easily. You could do something like make a box appear when an async function is running and disappear when it is done without too much effort.

The hard part, however, is designing and implementing the actual UI. How do you visualize async code? Async UI doesn't have the tool to do complex visualization like drawing graphs yet.

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

No branches or pull requests

2 participants