-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use dlmopen for modules to clearly separate symbol namespace #4746
Comments
Actually it looks tempting to support but we need more time to figure out the details and potential side effects. |
Thinking more I fear this might break backward compatibility. What if there already present users/modules which relies on global symbol namespace? |
Yes, glibc's I see a solution here and I wish also @antirez would consider it for Redis, I'm speaking based on experience made maintaining frei0r and following LADSPA, both large third-party communities of plugin developers. The solution can be to add metadata that indicates loading options (and more) for plugins. Then the flow can be:
There may be more solutions, in any case I recommend you do consider the isolation flag as a desirable option for plugin developers. |
Yes, I think of some kind of flag to provide an option for such load, but definitely we won't switch to |
Ping. Any thoughts about this? A runtime configuration switch? |
Hi! Sorry but have had no time to think about, -EBUSY :( |
Is this the
dlopen
call for loaded modules?tarantool/src/box/func.c
Line 276 in ca07088
I'm wondering if you are open to a change to the way you load modules, to adopt
dlmopen
as I've described here redis/redis#6125This change would allow modules to carry their own symbols without clashing with tarantool's.
For instance modules with their own modified Lua interpreter.
The text was updated successfully, but these errors were encountered: