Hi Zach!
Another Zach here, with a question for you about pararules - but before that, thanks for your time, hard work and dedicated sense of humor - they has made exploring pararules and paranim a enjoyable and learning-filled experience.
Onto my question - I am trying to leverage staticRuleset inside of a Nim module that I am compiling to a shared library and loading / unloading at runtime. Everything is compiling fine, but when I try to invoke initSession in a function I invoke after my shared library is loaded, I encounter a segfault.
I'm guessing this is not really possible to achieve with staticRuleset - is that correct? If so, no biggie - I can always use staticRuleset when producing release builds of my project where I don't depend on loading and unloading plugins at runtime and statically link instead.
Thanks ahead of time for your help!
Hi Zach!
Another Zach here, with a question for you about
pararules- but before that, thanks for your time, hard work and dedicated sense of humor - they has made exploringpararulesandparanima enjoyable and learning-filled experience.Onto my question - I am trying to leverage
staticRulesetinside of a Nim module that I am compiling to a shared library and loading / unloading at runtime. Everything is compiling fine, but when I try to invokeinitSessionin a function I invoke after my shared library is loaded, I encounter a segfault.I'm guessing this is not really possible to achieve with
staticRuleset- is that correct? If so, no biggie - I can always usestaticRulesetwhen producing release builds of my project where I don't depend on loading and unloading plugins at runtime and statically link instead.Thanks ahead of time for your help!