Welcome to This Week in D! Each week, we'll summarize what's been going on in the D community and write brief advice columns to help you get the most out of the D Programming Language.
The D Programming Language is a general purpose programming language that offers modern convenience, modeling power, and native efficiency with a familiar C-style syntax.
This Week in D has an RSS feed.
This Week in D is edited by Adam D. Ruppe. Contact me with any questions, comments, or contributions.
A working group was formed to discuss alternate memory management schemes. The discussions in this first week were centered around adding some kind of automatic reference counting to the language itself, with proponents pointing out the potential for easing interfacing with COM and Objective-C, with detractors saying the proposed solutions have holes and are not general enough.
As of this writing, the details are still being hashed out. As more consensus is reached, I will try to summarize it here each week.
See more at the announce forum.
If you see an error message in Phobos along the lines of "no matching template for...", often adding .array right before it in the range pipeline will fix the problem.
This week, I wrote up a more detailed explanation with other alternative solutions on Stack Overflow to answer this FAQ and provide some background on why it works - and doesn't work - the way it is.
If you are using or writing any range functions, I suggest you familiarize yourself with the std.algorithm zero-hidden-cost philosophy which is at work here to write more efficient code.
To learn more about D and what's happening in D: