Accu, C++, Community, Conferences, Continuous Integration, Git, Unit Testing

Accu 2014 Conference Notes

I had the chance to go to ACCU 2014 the other week (full conference schedule is here) and I have to say it was one of the best conferences I've had the pleasure to attend. And while it did confirm my idea that C++ is getting the point of saturation and ridiculous excess (C++11 was… Continue reading Accu 2014 Conference Notes

GLFW, Mac OS, Programming, XCode 4

GLFW – Compiling Source and Creating an Xcode Project

GLFW is a great library - easy to use, great documentation covering it's API design. But if you're not on Windows where they provide pre-built libraries, going from a source download to a compiling Xcode project is _not_easy. Since brew (as of writing) only provides GLFW 2, you need to build GLFW 3 yourself. There… Continue reading GLFW – Compiling Source and Creating an Xcode Project

Continuous Integration, Jenkins, Mac OS, Ruby

Ruby, Jenkins and Mac OS

I've been using Jenkins as my CI server for a while and though user permissions has always been a bit of an issue (I'll explain why in another blog post covering my Unity build process) running command line tools has never been to much of a problem once it got going. At least not until… Continue reading Ruby, Jenkins and Mac OS

Development, Programming

I’ll just refactor that…

I originally posted this to #AltDevBlogADay on Saturday November 12, 2011. Refactor: Refactoring is a disciplined technique for restructuring an existing body of code, altering its internal structure without changing its external behavior.   I pretty much wish that word had never been invented. The above definition (taken from Martin Fowler’s Refactoring Home Page) seems to have… Continue reading I’ll just refactor that…

C++, FTL, Programming

A Different Allocator Model

I originally posted this to #AltDevBlogADay on Saturday 30th July 2011. Quite a few years back I started developing a custom STL implementation which has eventually be adopted and used throughout our company. One of the most important things to get right when developing any kind of generic container library is the way memory is allocated. It… Continue reading A Different Allocator Model

C++, FTL, Programming

Simplifying the Flag Set

In the last few posts, I’ve covered the development of a type safe and easy to use flag set, and as a result it now contains 3 required template parameters, two of which declare default values. template < typename TEnum, int TMaxFlags = 8, typename TNames = union_names<bit_set_size<TMaxFlags>::Value> > class flag_set The last two properties… Continue reading Simplifying the Flag Set

C++, FTL, Programming

Debugging Type Safe Flags

In the previous post I described how I implemented a type safe, template driven, system for declaring and using flags in C++. But one of the main issues with the solution was not being able to see what flags were set when debugging. Which Flags Are Set? When setting bits to store flags there are… Continue reading Debugging Type Safe Flags