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…

Timo Geusch

1-Minute Read

<p>Try stopping mspdbsrv.exe (the process that generates the pdb files during a build) if it is still running. My understanding is that it’s supposed to shut down at the end of the compilation but it seems that it can turn into a zombie process and if the latter happens, you can get the above error when linking your binaries.</p>

Timo Geusch

2-Minute Read

<p>I’m currently busy porting a large native C++ project from VS2008 to VS2010 and one of the issues I keep running into was build times. The VS2008 build uses a distributed build system; Unfortunately the vendor doesn’t support VS2010 yet, so I couldn’t use the same infrastructure. In order to get a decent build speed, I started exploring MSBuild’s ability to build projects in parallel (which is fairly similar to VS2008’s ability to build projects in parallel) and…

Timo Geusch

1-Minute Read

<p>It’s been mentioned in several places that GNU Emacs versions sometime after 23.1.50 do come with an integrated version of CEDET. While I think that’s a superb idea it unfortunately managed to break my setup, which relies on a common set of emacs-lisp files that I hold under version control and distribute across the machines I work on. Those machines have different versions of GNU-based Emacsen (pure GNU, Emacs/W32, Carbon Emacs etc) so I can’t rely on the default CEDET.…

Timo Geusch

1-Minute Read

<p>As I enjoy Rands’ writing, I think his new book <a href="http://www.randsinrepose.com/archives/2010/08/02/being_geek.html">Rands In Repose: Being Geek</a> just made it onto my reading list. As soon as I get through the other three books I still have in my ‘must read urgently’ stack.</p>

Recent Posts

Categories

About

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