Well, what I’m going to talk about today isn’t really magic, but it does illustrate some things you can do with C++ templates that, while certainly not uncommon, may not come immediately to mind. We’re going to use templates to implement some code for dealing with byte-swapping (endianness issues). I originally wrote this content as part of an upcoming post, but that post was already getting to be several pages long. So, I’ve pulled the info out into this post, and will finish that one soon. Read more

Well, I gots me a MacBook Pro. I have to admit, any tears I had been shedding about my poor little old iBook dried up quickly as soon as I turned this new puppy on. Let’s just say I am happy with this purchasing decision, and leave it at that.

So, now that I have a computer again, I started looking into D some more. One of the first things that struck me is that, at least on the Mac, the tools just aren’t really there yet. There is no native debugging support, for example. There are patches for GDB that add support for D, but GDB doesn’t quite build out of the box on the Mac. I’ve applied the patches to the version of GDB in Apple’s CVS server and built it successfully, but it doesn’t appear to work. Maybe one day soon I’ll give it another go, but to be honest, I’m hoping someone else will get it working first. I’m just not enough interested in making a debugger work just so I can mess with a new language. Read more

After almost 6 years of trusty service, my poor little G3 iBook finally bit the dust yesterday. And no, it’s not just pining for the fjords, it’s DEAD. Read more

My first post to this blog was the typical “Hello, World!” program, written in the D Programming Language. I’ve been intrigued by D since I first heard about it several years ago, but I hadn’t really made any real efforts to learn it. Very recently, Walter Bright, creator of D, decided the language was ready to be declared Version 1.0. All of the hooplah about this milestone finally piqued my interest enough to inspire me to give it a try. Read more

As this blog’s subtitle suggests, I will be using this space to talk about game programming. I might throw some other stuff in there from time to time, too, but game programming is definitely the focus. Read more

  1. import std.stdio;
  2.  
  3. void main(char[][] args)
  4. {
  5.    writefln("Hello, World!");
  6. }

« go back