3 ms·
It compiles a plugin for each Jupyter cell code with "go build -buildmode=plugin" then loads it. It's easy to see with Linux "lsof -p LGO_PID": it lists, among
by cosmos72 8y ago
It compiles a plugin for each Jupyter cell code with "go build -buildmode=plugin" then loads it.
It's easy to see with Linux "lsof -p LGO_PID": it lists, among others, the loaded shared libraries - there is one per Jupyter cell code.
- bm1362 8y agoThis is super cool, but I’d like to know more. You can’t reload plugins without changing the plugin path and any shared references won’t get GC’d, from what I remember. I tried to do server handler hot reloading via plugins and ran into this a while ago.