Three Unlikely Successful Features of D
summary
Shows three concrete D-language wins: scoped imports let definitions carry their own dependencies, cutting import latency by 4.45x (down to ~64 ms), shrinking object files and speeding links; a relaxed purity model with compiler purity deduction treats mutation of local/transitive state as safe, enabling efficient, analyzable pure-style code and memoization; and compile-time string mixins and regex compilation generate specialized parsers/automata that outperform generic engines (benchmarks beat re2 in common patterns).
AI-written summary · about
chapters (8)
- 0:00Introduction and stories
- 4:48Why the D language
- 11:08Language design issues
- 18:23Lexical scoping dependencies
- 31:18Build efficiency and stories
- 35:39Pure functions and iteration
- 45:57Relaxing purity rules
- 52:08Generative programming
related talks
01h 22mThe Case for Graphics Programming Using the D Language
01h 00mJust-in-Time Compilation
17mPerformant, Readable and Interoperable Rust from Dafny
36mThe language that isn't
02h 02mPeering forward: C++'s next decade
25m"Compiler-Driven Development: Making Rust Work for You"
01h 03mUnlocking the value of C++20
46mWrite once, run everywhere: building apps with Dioxus
