Coder Social home page Coder Social logo

pluga's Introduction

Pluga

Simple C++ plugin system

Circle CI Doxygen

Homepage: http://sourcey.com/pluga
Documentation: http://sourcey.com/libsourcey/api-pluga/
Dependencies: LibSourcey (base, uv)
Licence: LGPL

Pluga is a simple C++ plugin system that you can drop into your own projects. It currently supports:

  • Loading cross-platform plugins and shared libraries
  • Simple and elegant API for defining plugins
  • Strict API versioning for ABI safety

For more information take a look at this blog post which talks about the concepts and mothodology behind Pluga.

Installing

  • Install LibSourcey
  • Clone the Pluga repository in the LibSourcey src folder:
cd libsourcey/src
git clone https://github.com/sourcey/pluga.git
  • Ensure the BUILD_MODULE_pluga build variables are enabled in CMake and regenerate the LibSourcey project files
  • To build Pluga tests also enable the BUILD_TESTS and BUILD_TEST_pluga variables in CMake

Contributing

Contributions in the form of pull requests are always welcome.

  1. Fork Pluga on Github
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Issues

If you find any bugs or issues please use the Github issue tracker.

pluga's People

Contributors

auscaster avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pluga's Issues

LGPL? Seriously?

With all due respect, your whole library doesn't really make more than 100 lines of code. It's a bunch of #ifdefs and a class, and you're publishing this with LGPL? Seriously? Are you surprised that only amateurs use your library, if ever? I will never understand developers that do what you're doing.

Consider changing the license to something less ridiculous and more useful, such as MIT or BSD.

Cheers!

How to prevent a crash inside plugin screwing up the main pipeline ?

Hi,

I am reading the implementation of pluga. I really like the clean interface and mechanism.

But in order to be a reliable plugin framework, how does the core system prevent crashes caused by 3rd party plugins ? I don't have a good idea right now. The only sane idea I can think of is making all plugins run in another process, then use IPC to communicate with. But then the communication part will be complicated and an bottleneck for data intensive applications.

Do you have any idea on this ?

Thanks,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.