Jump to content



D Bits



Photo

Setting Thread Affinity on Windows in D

Posted by Aldacron, in D 03 April 2012 · 430 views

When working with D's standard library, it is sometimes necessary to work around missing declarations in the core.sys.windows.windows module. It's a fairly big module as is, but it isn't all-inclusive. If you are doing any heavy-duty Windows development, you'll likely want a...


Photo

Putting D's Array Slices to Use

Posted by Aldacron, in BorderWatch, D 08 March 2012 · 544 views

I've been working on BorderWatch a little bit every day. My focus has been on getting the ASCII engine, Arthur, into a state that will let me get a game up and running. With the few modules that I've implemented so far, I believe I'm there. One of the D features that has...


Photo

BorderWatch

Posted by Aldacron, in BorderWatch, D 05 March 2012 · 520 views

I'm afraid I'm going to be waving goodbye to Dolce. It's been sitting, bit rotting, for a while now. Some time ago I encountered two major issues with my Allegro binding in Derelict 2. One, a random (and I mean...


Photo

Compiling Data into a D Executable

Posted by Aldacron, in D 03 March 2012 · 540 views

I'm supposed to be posting part three of my series on binding D to C. It's going to be boring to write, so I keep putting it off. But I *will* get to it eventually. In the meantime, I wanted to blog about a neat feature of D that I'd sort of forgotten about until I needed it.

I'm working on an ASCII-based strategy/simulation game in the...


Photo

Binding D to C Part Two

Posted by Aldacron, in D 30 January 2012 · 995 views

This is part two of a series on creating bindings to C libraries for the D programming language.

In my previous post, I discussed the difference between dynamic and static bindings and some of the considerations to take into account when deciding which way to go. Here in part two,...


Photo

Binding D to C

Posted by Aldacron, in D, Derelict 08 January 2012 · 719 views

This is part one of a series on creating bindings to C libraries for the D programming language.

This is a topic that has become near and dear to my heart. Derelict is the first, and only, open source project I've ever maintained. It's not a complicated thing. There's very little...


Photo

Dolce and Da5teroids

Posted by Aldacron, in D, Dolce 18 December 2011 · 224 views
D, Dolce, Derelict
So I've finally gotten started on some game code. In order to see if Dolce is actually useful or a waste of time, I decided to start by porting the A5teroids demo that ships with the Allegro 5 package. Here's what I've learned so far.

First, the whole idea of Dolce as a framework on top of Allegro to allow an absolute minimum amount of startup...


Photo

Dolce Gets Some Love

Posted by Aldacron, in Dolce 17 November 2011 · 169 views
Dolce
Once the semester ended, I took a week to do nothing but play Dark Age of Camelot and get some much needed guitar practice in. Then I dove back in to the gym for some long overdue exercise. I also managed to pick up a few more private classes to fill some of the gaps in my schedule. Once I let off all that steam, I fired up...


Photo

On My Job, and Some Big D News

Posted by Aldacron, in D, Dolce, Me 09 October 2011 · 155 views
Dolce, D, Me
Dolce is still very much alive, just getting little attention while I wrap up the second semester at the university. For anyone interested, I'm teaching in a special program where a local university here in Seoul is partnered with a university in America. The students do two semesters here in Korea before moving off to the States for three years. We...


Photo

Dolce Refinements

Posted by Aldacron, in D, Dolce 04 September 2011 · 118 views
Dolce, D
In my last post, I showed the minimal amount of code needed to get something up and running with Dolce. And while it's a really small amount of code, something kept bugging me about the implementation. It just wasn't "D" enough.

Over...






May 2012 »

S M T W T F S
  12345
6789101112
131415 16 171819
20212223242526
2728293031  

Recent Comments

PARTNERS