-
Notifications
You must be signed in to change notification settings - Fork 6
Inspiration
Inspiration for Infectorpp came from a Lightweight IoC Container for Unity3D (C#). Most things I learned about IoC containers are from author of that container:
Note that the same author created a new framework:
Svelto (still C# dependency injection for Unity3D), wich is my choice for developing games with Unity3D (and it makes a big difference, even on small projects).
I quickly created a C++ prototype in Summer 2013 Infectorpp1 (on googlecode) and it received immediatly some attention.
I took some time (well almost 2 years) to meditate about Dependency Injection in C++. The clue is that C++ is a total different language from C#, so most things don't apply or needed rethinking. After collecting user feedback I finally came up with the core features for Infectorpp2.
Note that in no way I pretend to make the silver bullet. I created a simple framework that is easy to modify (note that it is deliberately not "extensible", you have to modify source code) and allow to do great things with minimum effort (great things != all things).
Less code is generally better, when you focus on few key features you have the chance to create a more effective application (if you are searching for a DI framework you are already searching for better and more maintainable code) with better API.