You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It there some way to make it possible to hot-reload changes to a .cpp file in a running python process (e.g. jupyter notebook)?
In particular, for development of high performance numerical computing code, it would be very useful to be able to have a jupyter notebook where data and other memory structures are loaded and set up, and then be able to use cppimport to import a .cpp file that is being developed for some heavy compute implementation. Right now, calling importlib.reload on a cppimport compiled/imported module does seem to trigger a re-compile (if the .cpp file has changed), but the new module is not actually loaded into the python process.
Great idea! I've also run into situations where hot-reloading would be nice. I have some thoughts on how it might be feasible. When I get around to it, I'll think about this more and write my thoughts here.
Activity
tbenthompson commentedon Mar 25, 2020
Great idea! I've also run into situations where hot-reloading would be nice. I have some thoughts on how it might be feasible. When I get around to it, I'll think about this more and write my thoughts here.