Hypodermic
Hypodermic is an IoC container for C++. It provides dependency injection to your existing design.
Install / Use
/learn @ybainier/HypodermicREADME
Hypodermic <img align="center" src="../master/resources/syringe_by_Andy_Selimov_from_thenounproject.png?raw=true" width="56">
Hypodermic is a non-intrusive header only IoC container for C++. It provides dependency injection to your existing design by managing the creation of your components and their dependencies in the right order, sparing you the trouble of writing and maintaining boiler plate code.
Used in production environments since 2012.
First steps
Configure the container by registering your components
ContainerBuilder builder;
builder.registerType< MessageDispatcher >();
auto container = builder.build();
... then ask the container to give you an instance of that type
auto dispatcher = container->resolve< MessageDispatcher >();
Want to discover what happened here? Learn to use more features through the beginner's guide on the wiki.
Benchmarks
Some comparative benchmarks are available on the wiki, check them out.
Acknowledgment
Hypodermic was started with the will to mimic the famous .NET Autofac http://autofac.org/. Although its design evolved, both its behavior and its expressiveness tend to remain the same.
Constructor deduction has been made possible thanks to the work of Krzysztof Jusiak in http://boost-experimental.github.io/di/.
Related Skills
diffs
343.3kUse the diffs tool to produce real, shareable diffs (viewer URL, file artifact, or both) instead of manual edit summaries.
clearshot
Structured screenshot analysis for UI implementation and critique. Analyzes every UI screenshot with a 5×5 spatial grid, full element inventory, and design system extraction — facts and taste together, every time. Escalates to full implementation blueprint when building. Trigger on any digital interface image file (png, jpg, gif, webp — websites, apps, dashboards, mockups, wireframes) or commands like 'analyse this screenshot,' 'rebuild this,' 'match this design,' 'clone this.' Skip for non-UI images (photos, memes, charts) unless the user explicitly wants to build a UI from them. Does NOT trigger on HTML source code, CSS, SVGs, or any code pasted as text.
openpencil
1.9kThe world's first open-source AI-native vector design tool and the first to feature concurrent Agent Teams. Design-as-Code. Turn prompts into UI directly on the live canvas. A modern alternative to Pencil.
HappyColorBlend
HappyColorBlendVibe Project Guidelines Project Overview HappyColorBlendVibe is a Figma plugin for color palette generation with advanced tint/shade blending capabilities. It allows designers to
