Skip to content
0:00 / 0:00

#dlang#dmd#walterbright

DConf 2016 Day 2 Keynote: Spelunking D Compiler Internals -- Walter Bright

The D Language Foundation

2.1K subscribers • 3 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • Presented by Walter Bright, creator of the D programming language

Advanced. Deep dive for people who know the field.

2.4K views6 years ago2 recommendations

Systems programmingProgramming languagesCompilers and interpretersPerformance and optimizationLanguage design and type systems

Walter Bright explores the architecture and internals of the DMD compiler front end, explaining how its multi-pass design achieves high performance.

Slides available at dconf.org/2016/talks/bright.html. The D compiler front end is used for the DMD, GDC and LDC compilers. Explore how it's organized, how the way it works is reflected in how the D language works, what makes it so fast, and the ongoing challenges for improving it. This aims to be invaluable for those who wish to get into contributing to the compiler or crafting other tools that need to examine D code, and illuminating for simply using the compiler more effectively.

Why it's here

2 people recommend this

What people say. Recommended for learning about fast code generation and the multi-pass parsing architecture of the D compiler.

u/chibuku_chauyain r/ProgrammingLanguages • Recommends

On “What is the state-of-the-art for fast code generation?”

The DMD compiler for D is pretty fast. Walter Bright has a talk on its internals.

u/cxzukin r/ProgrammingLanguages • Recommends

On “Which technique does D use to parse without a symbols table?”

Hi Chris, Yeah, as others have mentioned. I believe the D parser does multiple passes. Heres a talk by Walter on the internals of the D compiler \- 20 minutes in lists the passes D is also open source, so you could also take a look at the code Good luck, ✌