Hooray for DustMite

Andrew Wiley wiley.andrew.j at gmail.com
Sun Oct 9 23:26:55 PDT 2011


Just wanted to give kudos to Vladimir Panteleev for his excellent
DustMite utility, which reduced a DMD 2.055 backend ICE in Dinecraft
(a ~10,000 line codebase) to this:

struct ChunkLoc {
}

class Chunk {

        private ChunkLoc _loc;

        @property
        public ChunkLoc loc()  {
                return _loc;
        }
}

private struct FiberWaitingForChunk {
}

class WorldCache {
        FiberWaitingForChunk*[ChunkLoc] _fibersWaitingForChunks;
        void chunkLoaded(Chunk chunk) {
                _fibersWaitingForChunks.remove(chunk.loc);
        }
}


Which has now been filed at http://d.puremagic.com/issues/show_bug.cgi?id=6799

Thanks!


More information about the Digitalmars-d mailing list