Language design discussions

From D Wiki
Revision as of 06:05, 19 April 2014 by Verax (talk | contribs) (Removed "Inherited Constructors" as there was no discussion supporting it.)
Jump to: navigation, search

D is an evolving and complex language. New features are proposed, unexpected interaction in old ones get found, design issues are raised. All this may involve hard debates in D newsgroup and if often forgotten. This page serves as an index for major design discussions and proposals.

Formal improvement proposals can be found on the main DIP index.


Properties

Description

Initial @property design has issues. How can it be changed or even discarded at all?

Thread

Essential moments

Property Discussion Wrap-up

Proposals


Access specifiers and symbol visibility

Description

Currently there is feature like "static global" in C or "unnamed namespace" in C++. Access specifiers for module-level symbols control access, not visibility. Ability to hide symbols needs to be added without breaking current access system.

As a result of discussion, Walter has asked for DIP on this topic.

Essential moments

Thread

Proposal

DIP22


auto ref

Description

Essential moments

Thread


volatile

Threads

Essential Moments

Proposals


final-by-default

Threads

Essential Moments


rvalue references

Threads


Automatic Reference Counting (ARC) as an alternative to D's Garbage Collector

Threads

Essential Moments

  • {Feel free add some}