This Week in D September 20, 2015

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.

Statistics

Major Changes

A long-requested feature got implemented when a patch was merged this week adding file names and line numbers to backtraces printed by D programs on Linux with debug mode enabled. Previously, only addresses were given (which you could convert manually to file and line numbers using the addr2line utility that comes with the C tools).

You will have to compile with the -g option to enable this information.

New Compiler Beta Releases

Beta D 2.068.2-b2 and LDC 0.16.0 alpha4 are out and need your feedback! Give them a try and file bugs if you find any to help make more stable releases.

In the community

Community announcements

See more at digitalmars.D.announce.

Tip of the Week

This week, I want to highlight a tip I wrote about string mixins over on Stack Overflow. The short of it is always use local names in string mixins, avoiding the use of things like T.stringof.

Please see the link for a detailed explanation and example. Also notice the example of an iffy error message in there. A common complaint about D this week has been error messages. I agree a lot of them could use work... but in the mean time, knowing them will help you make quick understanding of them.

Learn more about D

To learn more about D and what's happening in D: