Implementing Extensible Code in C ++

I am currently engaged in a project in which the main focus of the application should be extensible (allow third-party developers to write plug-ins / custom interface implementations).

So far, I have used Java and created an application on the NetBeans platform. This works great and is pretty easy to implement.

However, the program is rather intensively calculated and should be run on a grid of computers. I think C ++ may be better suited for mass computing as I need.

What I would like to know. Are there libraries similar to the NetBeans platform for C ++. Or did I need to implement everything from scratch (not what I mean, I just want to know)? Also, how easy is it to write extensible code with C ++ and implement something like an update center? This is what you get for free from the NetBeans platform. My experience using the platform is that it allows you to write very modular code that I like. New modules can be installed independently, while the platform provides service discovery to find all installed plugins / impediments.

Can this be done similarly in C ++?

Thanks!

+4
source share
2 answers

I recommend you take a look at the Qt framework . They offer a mechanism for creating plugins. Check out this free online book about Qt. Plugins are discussed in chapter 21 .

+2
source

For modularity at the binary level, Boost.Extension may be a good choice.

For autoupdate there is, for example, Google Omaha (Windows) or Update Engine (OS X)

+2
source

All Articles