home mail me! RSS (2.0) feed

Erlang - the best or worst of two worlds?

A friend of mine has become an Erlang aficionado lately, and has - deliberately or not - pulled me into Erlang development I had not touched Erlang in a long time but always knew there was something about it that bothered me some twelve years ago. I forgot what, but now remember.
This post […]

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 [...]