Thursday, September 6, 2007

What is Boost.Extension?

Boost.Extension is a C++ library designed primarily to ease the creation of plugins. It allows for creating shared libraries that can be loaded by an executable, and which can implement interfaces defined in the executable. The executable can then instantiate and use these implementations.

  1. Type-safety
  2. Arbitrary information can be stored about a plugin (version info, size, requirements etc.)
  3. Fast - you access implementations through pointers to their interfaces, so you only have the normal overhead of a virtual function call
  4. Thread-safe
  5. Cross-platform (Windows, Mac, and Linux have all been tested)
  6. RTTI is optional

No comments: