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/concurrent cell execution #696

Open
davidbrochart opened this issue Jun 29, 2021 · 1 comment
Open

Async/concurrent cell execution #696

davidbrochart opened this issue Jun 29, 2021 · 1 comment

Comments

@davidbrochart
Copy link
Collaborator

With ipykernel it is already possible to await at the top-level. akernel takes this behavior one step further by launching each cell in a task, allowing for concurrent cell execution. This will open up new possibilities, and it can already be a solution to difficult problems related to ipywidgets.
A similar attempt was done in ipython/ipython#11347 by @Carreau, although I think the approach is very different.
Do you think it could be interesting/possible to have ipykernel support this kind of behavior?

cc @ilyabo @kylebarron

@ilyabo
Copy link

ilyabo commented Jun 29, 2021

Indeed, akernel solves the issue with our Jupyter widget. It would be great if this functionality was in ipykernel itself. I think it shouldn't be necessary to install custom kernels just to be able to use await.

@davidbrochart There should be the Jupyter Widgets dev meeting at 6:30 CET today. I am planning to join in the first half an hour. It would be great if you could join too, so that we discuss this with the core developers. Here's the zoom link (hope that it's correct).

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