August 02, 2008

Practical Testing: 18 - Removing the potential to deadlock
Back in 2004, I wrote a series of articles called "Practical Testing" where I took a piece of complicated multi-threaded code and wrote tests for it. I then rebuild the code from scratch in a test driven development style to...

August 03, 2008

Latest release of licensed socket server code: 5.2.3
The latest release of the licensed version of the socket server framework is now available. This release includes the following changes. The following changes were made to the libraries. Some whitespace changes to remove incorrect tabs. Admin Library - 5.2.3...

The life of a stream socket connection
As I mentioned here I've recently adjusted how socket callbacks are dispatched in the licensed version of the code......

Practical Testing: 19 - Removing the duplicate code
The code in the last two articles in the "Practical Testing" series have contained a considerable amount of duplication. This came about for a couple of reasons. Firstly part 17 was a bit rushed and secondly it was useful to...

August 06, 2008

Documentation bug...
I realised this morning that part of my "The life of a stream socket connection" document about the safe use of server callbacks in my server framework was wrong. I said this: At any time after a connection is established,...

Lock free code is hard
There's an interesting article over on Dr. Dobb's about why writing lock free code is so hard. Herb Sutter takes some code from an article that Dr. Dobb's published a couple of months ago and pulls it apart and points...

August 07, 2008

Writing testable code
There's a nice post by Miško Hevery over on the Google Testing Blog about Writing Testable Code. It pretty much sums up my views on testable code. Go read it!...

August 12, 2008

Practical Testing: 20 - Mind the gap
Back in 2004, I wrote a series of articles called "Practical Testing" where I took a piece of complicated multi-threaded code and wrote tests for it. I then rebuild the code from scratch in a test driven development style to...