Search results

Jump to: navigation, search
  • ...e Cookbook is a community-created collection of practical examples, guides and advice for accomplishing common tasks in D.</span> * [[Checklist for optimal portability and performance]]
    2 KB (232 words) - 22:55, 17 July 2020
  • ...peril because preprocessor macros are not subject to syntax restrictions, and therefore full of pitfalls for the unwary: Or, we can declare a const variable that contains the value:
    3 KB (447 words) - 09:22, 2 February 2015
  • All D compilers are divided into two parts: the front-end and the back-end. ...g error messages, etc. The same front-end code is used by [[DMD]], [[GDC]] and [[LDC]].
    39 KB (5,317 words) - 17:54, 7 April 2024
  • !'''Const code bloat''' ...e actual syntax and use of 'auto ref'. This page has already been archived and the version increased.</div>
    5 KB (818 words) - 04:25, 17 January 2013
  • ...e-based writeTo function which uses a delegate sink and a format specifier to allow for custom formatting. ...tring. Since the object in question may mutate later, it might not be able to cache the result. This means every time an object is printed, a new heap al
    6 KB (863 words) - 07:52, 19 January 2013
  • ...ociative array) implementation]. He was kind enough to give me permission to share this discussion with the rest of you. ...aaA.d; I didn't introduce any clever new algorithms. The main purpose was to move the code out of aaA.d into object_.d (or maybe a separate file that is
    9 KB (1,516 words) - 20:17, 8 September 2015
  • ...nto formal restrictions. Minor redefinition of <code>ref</code> in regards to <code>@safe</code> is also proposed. ...l table. A solution is needed that will be simple, provide some guarantees and avoid extra bloat.
    9 KB (1,473 words) - 08:06, 25 June 2015
  • This document is an overview of the extensions D/Objective-C brings to the D programming language. It assumes some prior knowledge of [http://deve ...describe features which are not yet implemented and are very much subject to change. Unimplemented sections of this '''document''' are marked as such.''
    22 KB (3,155 words) - 14:44, 28 December 2014
  • This page describes the current problems of std.json and what would be expected of an ideal replacement module. * It's API is not up to current phobos standards
    3 KB (440 words) - 00:47, 18 October 2018
  • * methods (functions) can be top-level, that is, not declared inside a class; and called without being prefixed with an object/class or class name (e.g. <cod ...camelCase notation instead of PascalCase for method names, variable names and enum members
    26 KB (3,437 words) - 23:54, 9 May 2021
  • ...ut this list may also be useful for other programming languages which wish to learn from D's experience. ...his language feature has evolved throughout D's history (e.g. the addition and removal of the <tt>-property</tt> switch). There are numerous [[DIPs]] with
    10 KB (1,622 words) - 12:20, 22 September 2022
  • ...e on interlocked reference counting at compile time. Unshared mutable data and shallow shared data (like strings) are counted with the fastest possible no * add missing use cases
    20 KB (2,909 words) - 01:54, 14 February 2018
  • ...xactly four weeks following the release of 2.067 which provides ample time to address your issue. ...ng at the time RC1 is published can extend the release cycle, which is set to end 4 weeks following release of the first RC (22 Oct JST, 21 Oct PDT). All
    6 KB (873 words) - 23:37, 20 September 2014
  • ...le-Keyword C Volatile Keyword]</ref>. At some point '''shared''' was meant to replace volatile but as shared is slowly being defined it's becoming obviou ...ementation defined behavior <ref>GDC provides some non-standard extensions to '''shared'''</ref> or is currently not possible at all.
    29 KB (4,221 words) - 04:18, 16 April 2016
  • ...they're the most affected) some experimental language features were added to D. ...rong><code>ref</code></strong> parameters of non-template functions forces to manually declare temporaries:
    3 KB (544 words) - 05:00, 27 March 2018
  • extern (C++) immutable(char)* dfunc(const char *s) { I compiled with '''dmd -c test.d''' and it created a test.o file. I then created a Cocoa Objective C application in
    7 KB (1,230 words) - 23:53, 9 May 2021
  • ...dern multi-paradigm programming language that emphasizes both productivity and native efficiency. D does not compromise performance while making great strides in productivity and program correctness,
    10 KB (1,374 words) - 01:15, 14 December 2018
  • !'''@mutable members in immutable data structures''' This DIP proposes an officially sanctioned way to mutate members in immutable data structures.
    7 KB (974 words) - 06:54, 29 June 2016
  • !'''Lazy Initialization of const Members''' ...r mutable members of const structs) lazily by allowing limited mutation of const objects.
    4 KB (570 words) - 15:03, 14 November 2015
  • ...fore, to translate it to another language, it must be even more expressive and with no less sensible multitasking. ...s and seriously considering the acquisition of a prosthetic hand, allow me to offer you a translation of the Tour of the Go with equivalent code in D acc
    16 KB (2,253 words) - 05:03, 18 February 2018