Archive for the ‘.net’ Category

So this seems to be turning into a series of some sort… What happens if instead of using synchronization with reset events, we use one of the new concurrent collections? Lets find out. Implementation with Concurrent Queue So, while I was trying to implement the double buffer (previous post available here) I started thinking about […]


A game running at 60FPS needs to render every 16 milliseconds, meaning that all the logic for collision detection, animation, obstacle avoidance, physics, etc. must happen in that very short time. You also need to prepare for rendering and then send the instructions to the GPU. Multithreading seems like a most reasonable option if you […]


For the last few years I have been writing code in C#. I think C# and .net are great tools to write software. I find that C# is exactly where I need it to be, I can do low level when I need to work with pretty high level abstraction (ish). However the world (unfortunately) […]


I needed a psd content processor and found one here it is based on the EndoEngine. The one available depended on XNA 3.1,  I did some clean up on the project and made it available via my account on github. We (at BatCat Games) are working on a Content hot loader that will be available […]


DDD Scotland is happening next weekend, I’m really looking forward to it. I’m also very happy my talk got selected, thanks everyone that voted for it.  The agenda is very interesting here are my picks: Starting at 9:30AM and If you are not interested in CQRS/ES,  there is two talks that sound interesting: Streams of […]


This post belongs to a series of posts on CQRS/ES Part 1 – introductory terms and overview Part 2 – Event sourcing and information about commands So, we are moving on. I thought I’d put these two topics close, it seems to me  that they are related, I ve been using BDD to test this […]


I had a bit of trouble getting to this, so for self reference more than anything, I thought I d post about it. Given the following class public class MyClass { private string _name; public string Name { get { return this._name;}} protected MyClass(string name) { _name = name; } } I thought that the […]