Difference between revisions of "Language design discussions"

From D Wiki
Jump to: navigation, search
(Essential moments: - spelling)
(Added volatile)
Line 45: Line 45:
 
==== Description ====
 
==== Description ====
 
Present AA implementation has lot of problems and most likely needs to be reworked. [[AA_Implementation_Issues]]
 
Present AA implementation has lot of problems and most likely needs to be reworked. [[AA_Implementation_Issues]]
 +
 +
== <code>volatile</code> ==
 +
 +
=== Threads ===
 +
* [http://forum.dlang.org/post/bifrvifzrhgocrejepvc@forum.dlang.org October 2013 Discussion]
 +
* [http://forum.dlang.org/post/mailman.921.1378464218.1719.d.gnu@puremagic.com September 2013 Discussion]
 +
* [http://forum.dlang.org/post/CAEnAdhaoDoTge+Hs=od4aK_6CkvFQau75iokGK0BxMHw7fw9jA@mail.gmail.com July 2012 Discussion]
 +
* [http://forum.dlang.org/post/cdie80$1518$1@digitaldaemon.com July 2004 Discussion]
 +
* [http://forum.dlang.org/post/cbjgmm$27ia$1@digitaldaemon.com June 2004 Discussion]
 +
* [http://forum.dlang.org/post/pan.2004.05.09.01.08.26.766288@swieton.net May 2004 Discussion]
 +
* [http://forum.dlang.org/post/3C9A43BC.AFBA03BA@netfrastructure.com March 2002 Discussion]
 +
 +
=== Essential Moments ===
 +
* [http://forum.dlang.org/post/mailman.2445.1382596627.1719.digitalmars-d@puremagic.com <code>shared</code> considered a volatile type in GDC], [http://forum.dlang.org/post/l4ecan$6ss$1@digitalmars.com more] [http://forum.dlang.org/post/mailman.2480.1382655175.1719.digitalmars-d@puremagic.com more]
 +
* [http://forum.dlang.org/post/mailman.2454.1382619958.1719.digitalmars-d@puremagic.com compiler does not cache shared data in GDC]
 +
 +
=== Proposals ===
 +
* [http://wiki.dlang.org/DIP20 DIP20]
 +
** [http://forum.dlang.org/post/k54gc2$428$1@digitalmars.com October 2012 Discussion]
 +
* [http://wiki.dlang.org/DIP17 DIP17] - Superceded by [http://wiki.dlang.org/DIP20 DIP20]

Revision as of 00:39, 12 March 2014

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

Built-in associative array issues

Description

Present AA implementation has lot of problems and most likely needs to be reworked. AA_Implementation_Issues

volatile

Threads

Essential Moments

Proposals