joyceerhl / vscode-pyolite

Run Python code in Jupyter notebooks on github.dev and vscode.dev/github
https://marketplace.visualstudio.com/items?itemName=joyceerhl.vscode-pyodide
75 stars 16 forks source link

Open implementation questions #1

Open joyceerhl opened 3 years ago

joyceerhl commented 3 years ago
psychemedia commented 3 years ago

Hi @joyceerhl This is a really exciting project and could be hand supporting educational uses where setup/installation of anything can be a hassle.

To what extent might you be able to cache things (and also bust the cache if there are updates available)?

rth commented 2 years ago

Explore loading Pyodide and packages in Node instead of in the renderer preloads or web worker

To what extent might you be able to cache things (and also bust the cache if there are updates available)?

I'm not sure how things currently work in VS Code, but it's worth mentioning that while in a browser would take care of caching downloads, that's not the case in Node.js. There is a WIP effort to add caching to Pyodide for Node.js in https://github.com/pyodide/pyodide/pull/1776 If you are have specific requirements in vscode-pyodide on that, please let us now.