Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

NDC Conferences

Three Unlikely Successful Features of D

NDC Conferences via YouTube

Overview

Explore three unexpected yet successful features of the D programming language in this insightful conference talk by Andrei Alexandrescu. Delve into the subjective nature of language design, examining features that initially seemed unimportant but have become widely adopted and appreciated. Learn about functional programming concepts, user-defined types, and compile-time evaluation through practical examples such as factorial implementations, generative programming, and embedded DSLs. Discover how these features have impacted D's ecosystem, including code injection with mixin, bitfields in libraries, and compile-time regular expressions. Gain valuable insights into language design decisions and their long-term effects on programming communities and large-scale software development.

Syllabus

Intro
Motivation
Personal Story: Coming from C#
The Innocently Plausible
The Unexpected Emergent
Measurements
Consequences
Functional Factorial (yawn)
Functional Factorial, Fixed
Honest Factorial
WHAT DOES A PURE FUNCTION
Transitive State
User-defined types
Generative Programming
Embedded DSLS
Compile-Time Evaluation
Code injection with mixin
Example: bitfields in library
Compile-time regular expressions

Taught by

NDC Conferences

Reviews

Start your review of Three Unlikely Successful Features of D

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.