The Lone C++ Coder's Blog

The Lone C++ Coder's Blog

The continued diary of an experienced C++ programmer. Thoughts on C++ and other languages I play with, Emacs, functional, non functional and sometimes non-functioning programming.

Timo Geusch

2-Minute Read

<p>I recently ran into a requirements for retrofitting a logging library to an existing project. My first instinct was to throw <a href="http://pantheios.sourceforge.net/">Pantheios</a> at it as I’ve used it before and It Just Worked. Unfortunately in this case, we needed the ability to log to more than two event sinks and it looked like this was getting a little awkward with <a href="http://pantheios.sourceforge.net/">Pantheios</a>, which prompted me to look at <a…

Timo Geusch

4-Minute Read

<p>A piece of code I recently worked with required data structures that hold unique, sorted data elements. The requirement for the data being both sorted and unique came from it being fed into std::set_intersection() so using an std::set seemed to be an obvious way of fulfilling these requirements. The code <em>did</em> fulfill all the requirements but I found the performance somewhat wanting in this particular implementation (Visual Studio 2008 with the standard library implementation shipped…

Recent Posts

Categories

About

A developer's journey. Still trying to figure out this software thing after several decades.