Skip to content
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

Support plugins automatically loaded at runtime #13

Closed
frutiger opened this issue Feb 2, 2015 · 2 comments
Closed

Support plugins automatically loaded at runtime #13

frutiger opened this issue Feb 2, 2015 · 2 comments

Comments

@frutiger
Copy link
Owner

frutiger commented Feb 2, 2015

A plugin automatically loaded at runtime is a shared library that is provided as a link-time dependency of some other code. This other code may then freely use symbols from the plugin as long the name of the exported symbols are known (e.g. through header files).

These shared libraries would have to be deployed together with the code using them in order to avoid mismatched symbol names and symbol signatures/behaviours. This stands in contrast to #14 where the resulting binary contains all the requisite dependencies.

This would implement option (2) from #7.

@cppguru
Copy link

cppguru commented Feb 2, 2015

It is a "third" other code that can run the functions. Remember, the
"other code" has no kind of dep on the code loaded. That "3rd code" must
have a way of depending on the loaded module (if that is not just a
standardized script module) to include headers without creating link time
dependencies.

On Mon, Feb 2, 2015 at 2:38 AM, Masud Rahman notifications@github.com
wrote:

A plugin automatically loaded at runtime is a shared library that is
provided as a link-time dependency of some other code. This other code may
then freely use functions from the library without any special code or
management.

This would implement option (2) from #7
#7.


Reply to this email directly or view it on GitHub
#13.

@frutiger
Copy link
Owner Author

frutiger commented Sep 2, 2018

This can be handled the same way as the issue resolution for #14.

@frutiger frutiger closed this as completed Sep 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants