I'm working on integrating Julia into our platform which is a long running service, there are a few concerns around keeping the Julia environment running for an extended period. Or if it might be possible to destroy the environment after it is initialized. We are investigating whether we should integrate Julia with the C API, the Python API or build our Julia as a separate process communicating over something like zeromg. I was hoping to get some help and suggestions with this, and the have left questions and concerns below.
- Once jl_init is called, is there a way to destroy the Julia environment that is initialized?
- Is it possible to initialize multiple Julia environments within the same process?
- Without the ability to delete functions or delete global variables after a while the environment's memory foot print could get out of hand.