Can a dynamic library be reloaded without restarting Julia?
You can try dlclose , but C programs/libraries/compilers are often not good at it, so YMMV
In my case it does not work, dlopen -> dlclose -> dlopen returns the same pointer again and again. Thanks!
I forgot to mention that it is a C library compiled with rustc. I guess your argument applies as well.
Last updated: Nov 07 2025 at 04:42 UTC