A couple of noteworthy links

The Lone C++ Coder's Blog from The Lone C++ Coder's Blog

It’s bit of a link roundup from the past couple of months. Most of you probably saw these already as I’d think you’re probably reading the same blogs. C++ links VS2010 SP1 Beta: What’s in it for C++ developers. While I’m not going to chance installing the beta on my main developer workstation, it looks like there are some interesting features in the service pack. I hope that the IDE stability has also been improved.

Sometimes, std::set just doesn’t cut it from a performance point of view

The Lone C++ Coder's Blog from The Lone C++ Coder's Blog

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 did fulfill all the requirements but I found the performance somewhat wanting in this particular implementation (Visual Studio 2008 with the standard library implementation shipped by Microsoft).

Quick tip if you see ‘bad DLL or entry point msobj80.dll’ when building software with VS2008

The Lone C++ Coder's Blog from The Lone C++ Coder's Blog

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. Anyway, I just ran into this issue and stopping the process via the Task Manager resolved the issue for me.

On combining #import and /MP in C++ builds with VS2010

The Lone C++ Coder's Blog from The Lone C++ Coder's Blog

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 the C++ compiler’s ability to make use of multiple processors/cores, aka the /MP switch.

Using CEDET-1.0 pre7 with Emacs 23.2

The Lone C++ Coder's Blog from The Lone C++ Coder's Blog

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.

Welcome back to the new blog, almost the same as the old blog

The Lone C++ Coder's Blog from The Lone C++ Coder's Blog

The move to the other side of the Atlantic from the UK is almost complete, I’m just waiting for my household items - and more importantly, my computer books etc - to turn up. So it’s time to start blogging again in the next few weeks. Due to some server trouble in the UK, combined with the fact that I do like Serendipity as a blogging system but was never 100% happy with it, I’ve switched to using WordPress on a server here in the US.

About

The Lone C++ Coder's Blog from The Lone C++ Coder's Blog

I am a software engineer and occasional development manager with over 25 years experience writing production code, mostly in C++. During that time I’ve worked on anything from Windows device drivers when people said you couldn’t write those in C++, to financial trading applications. I have an interest in programming languages in general and am a firm believer that you cannot call yourself an experienced software engineer if you aren’t able to write good code in multiple programming languages.