Life in the Fast Lane

Posted on

The first post I wrote in the GC series introduced the D garbage collector and the language features that use it. Two key points that I tried to get across in the article were: The GC can only run when memory allocations are requested. Contrary to popular misconception, the D GC isn’t generally going to … Continue reading Life in the Fast Lane

Read more...

Compile-Time Sort in D

Posted on

Björn Fahller recently wrote a blog post showing how to implement a compile-time quicksort in C++17. It’s a skillful demonstration that employs the evolving C++ feature set to write code that, while not quite concise, is more streamlined than previous iterations. He concludes with, “…the usefulness of this is very limited, but it is kind … Continue reading Compile-Time Sort in D

Read more...

Project Highlight: excel-d

Posted on

Ever had the need to write an Excel plugin? Check this out. Atila Neves opened his lightning talk at DConf 2017 like this: I’m going to talk about how you can write Excel add-ins in D. Don’t ask me why. It’s just because people need it. From there he goes into a quick intro on … Continue reading Project Highlight: excel-d

Read more...

Faster Command Line Tools in D

Posted on

This post will show how a few simple D programming constructs can turn an already fast command line tool into one that really screams, and in ways that retain the inherent simplicity of the original program. The techniques used are applicable to many programming problems, not just command line tools. This post describes how these methods work and why they are effective. A simple programming exercise is used to illustrate these optimizations. Applying the optimizations cuts the run-time by more than half.

Read more...

Serialization in D

Posted on

Vladimir Panteleev has spent over a decade using and contributing to D. He is the creator and maintainer of DFeed, the software powering the D forums, has made numerous contributions to Phobos, DRuntime, DMD, and the D website, and has created several tools useful for maintaining D software (like Digger and Dustmite). A few days … Continue reading Serialization in D

Read more...