Sunday, December 27, 2015

An opinion on TDD

TDD (Test Driven Development) seems to be used a lot in technical and management circles, together with "CI", "scrum" and other agile-ish buzzwords. Since I've got an internet connection and the ability to throw my opinion into the wild, I think I'll do just that.



Saturday, December 26, 2015

Reusing std::thread objects

Sometimes it's useful to reuse a std::thread object - from a resource and design point of view. This would seem trivial, but since the std::thread was designed as a single use object, there are a few tricks to reusing it.



Sunday, December 13, 2015

Running a stand alone child process from a parent process

Sometimes it is necessary to start a process from within another process, whether it is for executing a command line utility or to create a peer process with which the parent process will need to communicate.



Detaching a process from the terminal

Sometimes it is useful to detach your application from the console terminal. It may be because you're building a daemon or simply because you don't want the application closing when the user ends his terminal session.