Menu

- Learn
- Documentation
  - Language Reference
  - Library Reference
  - Command-line Reference
  - Feature Overview
  - Articles
- Downloads
- Packages
- Community
  - Blog
  - Orgs using D
  - Twitter
  - Forums
  - IRC
  - Wiki
  - GitHub
  - Issues
  - Get involved
  - Contributors
  - Foundation
  - Donate
  - Sponsors
- Resources
  - Tour
  - Books
  - Tutorials
  - Tools
  - Editors
  - IDEs
  - Visual D
  - Acknowledgments
  - D Style
  - Glossary
  - Sitemap

Search
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using a local clone.

# Features Overview

Navigate D's implementation of a few key programming language concepts.

- Garbage Collection
- Functions
  - Function Delegates
  - Function Overloading
  - out parameters for functions
  - Nested functions
  - Function literals
  - Closures
  - Typesafe variadic arguments
  - Lazy function argument evaluation
  - Compile time function evaluation
  - Uniform Function Call Syntax
  - User-Defined Attributes
- Arrays
  - Lightweight arrays
  - Resizeable arrays
  - Built-in strings
  - Array slicing
  - Array bounds checking
  - Array literals
  - Associative arrays
  - String switches
  - Aliases
- OOP
  - Object Orientation
  - Interfaces
  - Single inheritance of implementation/multiple inheritance of interfaces
  - Operator overloading
  - Modules
  - No built-in dynamic class loading
  - Nested classes
  - Inner (adaptor) classes
  - Covariant return types
  - Properties
- Performance
  - Inline assembler
  - Direct access to hardware
  - Lightweight objects
  - Explicit memory allocation control
  - Independent of VM
  - Direct native code gen
- Generic Programming
  - Class Templates
  - Function Templates
  - Implicit Function Template Instantiation
  - Partial and Explicit Specialization
  - Value Template Parameters
  - Template Template Parameters
  - Variadic Template Parameters
  - Template Constraints
  - Mixins
  - static if
  - expressions
  - typeof
  - foreach
  - Implicit Type Inference
- Reliability
  - Contract Programming
  - Unit testing
  - Static construction order
  - Guaranteed initialization
  - RAII (automatic destructors)
  - Exception handling
  - Scope guards
  - try-catch-finally blocks
  - Thread synchronization primitives
- Compatibility
  - C-like syntax
  - Enumerated types
  - Support for all C types
  - 80 bit floating point
  - Complex and Imaginary
  - Direct access to C
  - Use existing debuggers
  - Struct member alignment control
  - Generates standard object files
  - Obviates need for a macro text preprocessor
- Other
  - Conditional compilation
  - Unicode source text
  - Documentation comments

Copyright © 1999-2018 by the D Language Foundation | Page generated by Ddoc on Sat Apr 14 16:39:11 2018