Wednesday, 30 January 2008

Boost


For anyone who does C++, you should also be well aware of boost.  In fact, you should generally be using boost  (unless there are technical limitations why you can't,  eg embedded platforms, non standard C++ compilers).


boost is essentially a large template library that makes all kinds of general programming a lot easier.    It basically extends the std libray.   It is also the testing ground for the next C++ language standard.  

The following are worth their weight in gold :-

boost::shared_ptr
boost::bind
boost::function
and lambdas

Being a template library it also means you don't have to link to a library, you just have to include the headers and at compile time its generating all the code directly into your software.  So it's dead easy to get started with it.

I mention it because I interview a lot of C++ programmers who have never heard of it.   


No comments: