home mail me! RSS (2.0) feed

gen_hierarchy - injecting base classes in C++

Would you like to generate a hierarchy of types on the fly using C++? Well, at least on-the-compilation-fly…
You could always use Andrei’s magnificent Loki library, or you could use my proposal, gen_hierarchy.
In short, I allow for two distinct types of hierarchies:

Spine-like, with the given types protruding as maximal elements on that spine.
A “simple” chain.

Let us [...]

SOAP is dying - back to binary roots?

It seems like all RPC frameworks have an intrinsic halftime of seven years. Why do they decay so rapidly?
Whatever the general case might be, it is quite clear that SOAP is dying the infamous Death by Over-Standardization, which is luring around the C++ corner as well – unfortunately.
Who is the new emperor? Hardly DCO, ONC [...]

Win32gui: windows for expert C++ developers

Have you ever been frustrated with not being able to use full C++ while adhering to the MFC model?
MFC is based on C with a “little bit of inheritance,” which is quite far from the expressivity in modern C++ use. A C++ expert expects RAII (resource acquisition is resource initialization) and to be able to [...]

Hard to find good intermediate C++ books

Finding good books about C++ is hard; they often belong to one of four categories:

Learn to program – too basic for people actually making money on this trade. However strange this might sound, there is a quite subtle difference between the DIY hobby programmer and the professional one. Ok, I know that most in the [...]

Spirit: parsing without leaving C++

When diving down among the various parser generators and compiler tools around, there is another one – beside BNFC – that sticks out: Spirit. A template-oriented library that is part of the terrific Boost libraries (http://www.boost.org.)
Whereas most tools rely on code generation, and even code generation generation (BNFC…), Spirit is a metaprogramming library that describes [...]

« Previous entries ·