August 2005
-
:
Exploring the C++ Unit Testing Framework Jungle
Exploring the C++ Unit Testing Framework Jungle over on Games from Within is a really good look at all of the C++ unit testing frameworks out there. It compares the following frameworks: CppUnit Boost.Test CppUnitLite NanoCppUnit Unit++ … -
:
/Y3 where have you been all my life
I was just flicking through some of the entries over on Games from Within and I came across an entry on precompiled headers which is a good introduction of the pros and cons of using precompiled headers in a cross platform environment. I … -
:
Setup and Teardown, reprise
Roy adds a little fine tuning to Brian’s advice about avoiding setup and teardown in unit tests. In summary; aim to minimise duplication in your test code… Roy takes issue with Brian’s assertion that a little duplication … -
:
Reprint: Using OpenSSL with Asynchronous Sockets
OpenSSL is an open source implementation of the SSL and TLS protocols. Unfortunately it doesn’t play well with windows style asynchronous sockets. This article, which was first published in Windows Developer Magazine and then … -
:
Be explicit about a class's multiple interfaces
I’ve been working on The Server Framework this week. A client wanted a version of the latest framework with UDP support added. They’d taken the freely available version of the code a couple of years ago and I’d given them … -
:
I feel the need to comment on this...
Richard Hale Shaw continues his series of blog postings on “Moving away from C++” with the obligatory “pointers are bad, garbage collection is good” post… I feel the need to write something about this but not … -
:
First impressions of Visual Studio 2005 from a C++ point of view
I’ve been using the latest Visual Studio 2005 beta on and off for the last couple of days. This is the first time I’ve bothered to try “Whidbey” and my initial impressions are very favourable; I’m just using it … -
:
How to reset the BIOS on a Vortex86-6071LV
The embedded Linux project came back to life this week when the manufacturer sent us some new video driver source for the SiS 550 on the Vortex86-6071LV. At present the new driver seems to work as well as the old one; i.e. not very well at … -
:
Borland C++ v3.1 and 'The Raymond Chen Camp'
Last weekend was a bit of a “compiler weekend” for me; I started playing with VS 2005 and I found some old source code and wanted to build it and that required Borland C++ v3.1 (In the currently fashionable style of naming … -
:
Garbage Collection and Pointers
So, Richard Hale Shaw is helping us move away from C++ and in his latest posting on the subject he explains how “veteran C++ programmers” don’t like to manage memory themselves; hmm. I’d quite like to see his sample … -
:
I wonder what the rationale for this restriction is
Geoff Appleby discovers that a common C++ template idiom doesn’t work with .Net generics. The code that doesn’t work is this: Public Class Class1(Of V As System.Web.Services.Protocols.SoapHttpClientProtocol) Inherits V End Class … -
:
Joel is a bit confused about agility and design
Joel Spolsky of has just completed a very public product development project for a Windows based user assistance program called CoPilot. This has been interesting to watch and has, no doubt, generated lots of positive PR for him. He’s … -
:
It's the libraries, stupid
Jeff Atwood has a nice piece on the productivity of different programming languages (go read it). His sums up with the following: *Given .. 1). the abandonment of C++ and C for mainstream programming 2). the huge influence of individual … -
:
While Windows lives, it's hard to see how COM will ever die.
This is a nice piece by Tim Anderson on why COM is still alive and kicking despite what all the .Net-heads would have you believe… It always seemed to be pretty obvious to me that all the “COM is dead, long live .Net” … -
:
JLR on C++ interfaces
A while ago I came across JLR’s weblog and read his three postings using interfaces in C++ (1, 2, 3). I fired off a quick comment on the first article because I didn’t agree with a couple of things he was saying. Jose’s … -
:
More Reprints - CORBA, C++ and Java
I’ve just finished posting some more reprints from back in 2001 when I was working on CORBA systems with C++ and Java. The articles mostly compare CORBA to COM and show why providing a reference counted server object lifetime … -
:
The price of freedom is eternal vigilance.
Kevin Barnes has written a nice piece on “freedom” languages, his word for Ruby, Python, Perl, etc. He compares these with “safety” languages, such as C++, C#, Java, VB, Delphi. He starts off by saying “I … -
:
Undocumented Windows 2000 Secrets
Just finished reading Undocumented Windows 2000 Secrets: A Programmer’s Cookbook by Sven B. Schreiber. Well, I say reading, it was really just a first pass through the book. The text and code spends more time in kernel mode than user … -
:
It's obvious when you think about it, but
*Piracy is not an enemy until you are famous. Until that point, obscurity is your enemy. I think independent creators should spend all of their attention fighting obscurity until they are famous, and only then should start to worry about … -
:
I just don't get it, what's with this->?
I’m looking at some code to help me understand how to use the dbghelp.dll Windows stack walking and symbol discovery stuff and the code I’ve found on the net uses a programming style that I’ve seen a few times before and … -
:
Lots of things become unnecessary if you factor things correctly
I’m still reading someone else’s code and it just struck me that a lot of ‘strange’ coding practices become unnecessary if you factor your code ‘correctly’. Note that both ‘strange’ and …