Search results

Jump to: navigation, search

Page title matches

  • ...big metaprogramming capabilities, so mapping template chain onto compiled code might cause some trouble
    528 bytes (85 words) - 17:10, 25 November 2012
  • 24 bytes (2 words) - 10:20, 10 December 2012
  • Often, during development, you may wish to comment out certain blocks of code for testing or debugging purposes. ...(before C99), this is accomplished by inserting a block comment around the code to be disabled:
    4 KB (541 words) - 09:44, 31 May 2017
  • == D source code tools == | about = Tool for analyzing D source code.
    541 bytes (59 words) - 18:40, 6 June 2018
  • Although D is designed to make it easy to port code between 32 and 64 bit modes, being a systems programming language, dependen Not all code can be made portable between 32 and 64 bits, and must be versioned. The fol
    3 KB (472 words) - 10:14, 14 November 2014
  • Timing a section of code is as simple as snipping out the three lines of code: { ... code to be profiled ... }
    4 KB (649 words) - 10:15, 14 November 2014
  • 75 bytes (14 words) - 23:54, 1 February 2015

Page text matches

  • ...For these reasons D makes for a good language choice for both performance code and application development. [https://run.dlang.io ▶ Run code]
    7 KB (951 words) - 06:30, 4 September 2023
  • latest technologies in building reliable, maintainable, portable, high-level code. D has moved well ahead of <br/> high-level compositions of templated code and optimizes it down to code that is virtually indistinguishable <br/>
    11 KB (1,667 words) - 03:36, 27 November 2018
  • Code examples and explanations from the author's years of using D covering a var “Templates are a central feature of D, giving you powerful compile-time code
    12 KB (1,738 words) - 22:41, 3 April 2022
  • .../www.youtube.com/watch?v=OLFBal4Qo_k Quantum Break: AAA Gaming With Some D Code] || [http://dconf.org/2016/talks/watson.pptx Yes] || [http://dconf.org/2016 .../www.youtube.com/watch?v=nSXRQfQcZb4 Object-Relational Mapper] || [https://code.dawg.eu/talks/2016-05-06-orm_dconf/#1 Yes] || [http://dconf.org/2016/ DConf
    34 KB (4,757 words) - 16:47, 21 December 2023
  • ...ciency, and Flexibility Too - Metaprogramming Techniques For No-Compromise Code | name = Programming Windows code samples translated to D2
    11 KB (1,194 words) - 04:29, 14 September 2022
  • ...e.visualstudio.com/items?itemName=webfreak.code-d Code-d for Visual Studio Code] ...ting, debugging (gdb/mago-mi), etc... Full list [https://github.com/Pure-D/code-d/wiki here]
    5 KB (679 words) - 17:13, 18 February 2024
  • !Syntax highlighting || Auto-<wbr>completion || Code navigation || Code formatting || Building || Linting || Debugging || Profiling || Coverage Ana |rowspan=4|[https://code.visualstudio.com/ Visual Studio Code]
    7 KB (764 words) - 08:13, 26 November 2023
  • | LDC-specific code: 3-clause BSD |'''Building D code as shared library'''
    8 KB (1,185 words) - 01:37, 18 May 2021
  • * [https://github.com/dlang Source code (GitHub)]
    837 bytes (108 words) - 17:06, 25 January 2018
  • * [https://github.com/D-Programming-GDC/GDC Source code (GitHub)] ...is means that a D frontend that can make use of the GCC middle and backend code will gain many advantages that would require years of development to match
    9 KB (1,401 words) - 12:47, 13 December 2023
  • ...est D2 version and relies on the [http://llvm.org LLVM Core libraries] for code generation. LDC is fully Open Source; the parts of the code not taken/adapted from other projects are BSD-licensed (see the [https://gi
    8 KB (1,269 words) - 20:51, 11 May 2024
  • | about = DMD fork which outputs C code instead of object files.
    1 KB (149 words) - 07:54, 8 June 2018
  • == <code>volatile</code> == ...ost/mailman.2445.1382596627.1719.digitalmars-d@puremagic.com <code>shared</code> considered a volatile type in GDC], [http://forum.dlang.org/post/l4ecan$6s
    9 KB (1,251 words) - 21:39, 20 May 2015
  • | DustMite || DustMite, is a D source code minimization tool. It's helpful in finding toolchain problems. || Windows/
    2 KB (277 words) - 07:53, 11 April 2018
  • | about = DustMite, is a D source code minimization tool. It's helpful in finding toolchain problems.
    362 bytes (39 words) - 02:00, 18 May 2018
  • [https://github.com/dlang Source code] &mdash; 
    749 bytes (106 words) - 23:02, 15 September 2023
  • ...se, you shouldn't have problems changing it. Options might differ but most code should be compatible with all of them. (If you find problems, please file a == Running D code like a script ==
    5 KB (827 words) - 12:58, 16 July 2020
  • ...(You can just type it into the browser URL). Create the page and paste the code and replace the appropriate data. Make sure "feature" is set to "Blog". Sav
    652 bytes (105 words) - 11:31, 16 July 2018
  • ...k at code snippets of from [http://rosettacode.org/wiki/Category:D Rosetta Code]. * [http://rosettacode.org/wiki/Category:D Rosetta Code: D category]
    5 KB (896 words) - 04:48, 7 January 2018
  • * [[Commenting out code]] * [[Porting 32 Bit Code to 64 Bits]]
    3 KB (420 words) - 14:02, 29 October 2022
  • On code created today for 32-bit CPUs that may need to be used on 64-bit or larger
    477 bytes (87 words) - 21:42, 23 November 2012
  • ...ypes of arguments. Sort of like having a regular Python function in your D code. I didn't quite grasp the point of templates back then. ...e line numbers are relevant to the DMD v2.051 release). First, our example code:
    22 KB (3,353 words) - 07:36, 18 February 2018
  • ...os and Druntime source code directories. The location of the Phobos source code is: * Using <code>-L+</code> will not work if you use it together with the -lib switch. This is normal
    21 KB (3,493 words) - 14:16, 7 May 2015
  • ...a-9702-529fa782d63b Windows SDK] || Windows header files and C/C++ example code. ==Writing Code That Uses Resource Files==
    9 KB (1,312 words) - 14:17, 7 May 2015
  • | Const code bloat | Import path binding in source code
    9 KB (1,188 words) - 22:34, 13 July 2016
  • ...you find it difficult to manually extract a small example from your source code, [https://github.com/CyberShadow/DustMite DustMite] can help with automatic ...tool to find the pull request that introduced the change which broke your code. [https://github.com/CyberShadow/DustMite/wiki/Reducing-a-regression-betwee
    13 KB (2,079 words) - 12:48, 11 March 2021
  • ==== One-line Code Recipes ====
    2 KB (232 words) - 22:55, 17 July 2020
  • | about = #include C headers in D code ...F format) through one standard library interface. It is released in source code format under the Gnu Lesser General Public License.
    5 KB (619 words) - 01:43, 11 May 2021
  • * Dub package registry ([http://code.dlang.org/ code.dlang.org]) * Google Summer of Code Coordinator
    3 KB (341 words) - 20:17, 11 May 2017
  • ...int range using a struct template. [http://dpaste.dzfl.pl/6f230c83 Run the code] ==Program Code==
    4 KB (362 words) - 07:37, 18 February 2018
  • ...big metaprogramming capabilities, so mapping template chain onto compiled code might cause some trouble
    528 bytes (85 words) - 17:10, 25 November 2012
  • ...ub.com/rainers/cv2pdb cv2pdb]; stack frames; mangled symbols; shows source code alongside disassembly. Note: v2.01 has a bug that may cause frequent crashe | [http://code.google.com/p/ddt/ '''DDT''']
    6 KB (905 words) - 21:51, 19 November 2023
  • ...type in the page name into the browser URL). Create the page and paste the code and replace the appropriate data. Save.
    576 bytes (96 words) - 23:02, 9 June 2018
  • |desc=Run and share D code directly in your browser
    417 bytes (53 words) - 14:10, 1 March 2018
  • ...y ([[Phobos]]) or [[druntime]] source code, or the [[DMD]] compiler source code. The alternative D language compilers, [[GDC]] and [[LDC]] also use Github
    826 bytes (120 words) - 17:53, 18 January 2018
  • ...utomatically updated GUI library list in [[DUB]] please check the [https://code.dlang.org/?category=library.gui&limit=100 GUI category]. Note however that | about = Testing use of C++ FLTK GUI lib from D code
    6 KB (769 words) - 02:29, 14 September 2023
  • ...amples of automatically running DMD (e.g. when developing and testing some code):
    9 KB (1,445 words) - 04:49, 27 March 2018
  • ** Code breakpoints * Code folding for C++ / D and XML files.
    6 KB (846 words) - 18:30, 9 June 2018
  • If we make {{code|@property}} rewrite to a call, while leaving the rest the same, we fix prob ...S blur the difference between setter and getter that implicit when using {{code|@property}} as show below :
    3 KB (510 words) - 18:55, 28 May 2014
  • ...ard library documentation, both for the latest release and for the current code residing on your machine. That may get pretty involved, so let's leave it f ...ose. Also, Ddoc recognizes sections marked in a particular way as D source code. There are a few subtleties inherent to macro processors (e.g. how recursio
    27 KB (4,396 words) - 12:53, 18 June 2019
  • * Git (for fetching the source code, if not using a tarball) ...code>apt-get install llvm-dev libclang-common-<matching LLVM version>-dev</code> (the LLVM compiler-rt libraries aka <tt>libclang-common-*-dev</tt> are opt
    10 KB (1,573 words) - 22:08, 6 April 2022
  • The following code adds two multibyte numbers and a carry and returns the final carry. * The code clobers some registers and the current program status register.
    7 KB (997 words) - 20:40, 22 April 2016
  • ...clear about at all is how asm blocks mixed with normal D code (for example code between two asm blocks) interacts. ..., <tt>mingw32</tt>, <tt>darwin</tt>, <tt>solaris</tt>. Please migrate your code to the official identifiers; the old ones might go away soon.
    21 KB (3,125 words) - 13:03, 31 July 2021
  • '''This code manually defines __FUNCTION__ which break as of D 2.063 and uses a few now The program code is given in the next section. [http://dpaste.dzfl.pl/cdacef45 &#9654; Try i
    4 KB (458 words) - 11:55, 16 July 2020
  • ...test technologies in building reliable, maintainable, portable, high-level code. D has moved well ahead of any other language in its abilities to support a ...paign=Feed:+GoogleOpenSourceBlog+(Google+Open+Source+Blog Google Summer of Code Project involving the Open Bioinformatics Foundation] that is the fastest B
    17 KB (2,456 words) - 10:25, 25 March 2023
  • * Becomes nothrow, which enables code that uses it to become nothrow. Nothrow code does not need to produce exception unwinding wrappers, which can improve th == Breaking Existing Code ==
    1 KB (209 words) - 20:53, 26 May 2015
  • <code> </code>
    4 KB (583 words) - 20:00, 8 September 2015
  • Don't write code that way. Cons: Many useful idioms are precluded, high barrier to learn how to write code that
    5 KB (849 words) - 19:51, 1 September 2015
  • ...he main() function is entered. This allows you to write unittests for your code within the source file itself, thus making it more conducive for encouragin ...switch over to another unittesting system, and possibly write the testing code in a different language.
    8 KB (1,145 words) - 06:24, 15 February 2018
  • ...e that cannot be directly named outside of the scope it's declared in, but code outside the scope can still use this type by taking advantage of D's static ...the underlying implementation without requiring all users to update their code. Otherwise, every time the implementation changes you will have to update e
    3 KB (479 words) - 23:45, 10 September 2016
  • Often, during development, you may wish to comment out certain blocks of code for testing or debugging purposes. ...(before C99), this is accomplished by inserting a block comment around the code to be disabled:
    4 KB (541 words) - 09:44, 31 May 2017
  • The program code is given in the next section. ==Program Code==
    2 KB (203 words) - 03:26, 18 February 2018
  • ! scope="col" class="unsortable" | Code || [https://github.com/dlang/phobos/pull/2845 Code/Pull Request]
    10 KB (1,322 words) - 12:30, 9 September 2016
  • ...he D specification, behaves in an unexpected way, or generates problematic code. ...where the binaries generated by LDC run any slower than the DMD-generated code, or the performance is significantly worse than GDC. In such cases, LDC lik
    3 KB (539 words) - 22:29, 13 May 2015
  • ...th two different »drivers«, i.e. executables a user invokes to compile D code: * Use <code>ldc2 -h</code> for the list of basic options.
    4 KB (599 words) - 10:27, 7 August 2023
  • * Make sure the code base passes the test suite (ctest -j<n>) in the follwing configurations:
    4 KB (631 words) - 16:09, 9 November 2016
  • ...S_A'' and ''S_B'' can be accessed. [http://dpaste.dzfl.pl/485db6d6 Run the code] ==Program Code==
    5 KB (474 words) - 22:32, 20 January 2013
  • ...instantiating templates, producing error messages, etc. The same front-end code is used by [[DMD]], [[GDC]] and [[LDC]]. The back-end is what emits machine code. It contains code generation, optimization, object file writing, etc. The back-end is specifi
    39 KB (5,317 words) - 17:54, 7 April 2024
  • !'''Const code bloat''' ...design of the const system, writing const-correct code results in massive code duplication: each function returning a part of its argument should be imple
    5 KB (818 words) - 04:25, 17 January 2013
  • ...il/tree/master/src/dil/parser src/dil/parser] and the abstract syntax tree code in [https://github.com/azizk/dil/tree/master/src/dil/ast src/dil/ast].
    2 KB (252 words) - 13:06, 16 July 2020
  • ...nsistent with these conceptual views of the terms, such that a reader of D code that is using properties can see which members of a class are attributes an * Allows ambiguous-looking code:
    11 KB (1,542 words) - 20:09, 9 March 2014
  • ...me. This metadata can't otherwise be expressed except by using boilerplate code or separate files that explicitly state which declaration have which metada ...ew annotation names instead of new keywords: new keywords might render old code not compilable, while with new annotations that can never happen.
    4 KB (619 words) - 05:20, 17 January 2013
  • ...gle opCmp() function. This has two major benefits: firstly, it shrinks the code required for implementation by a factor of four; and secondly, it ensures t # Defining operators asks for code duplication. Usually people want to define all arithmetic operators to forw
    11 KB (1,700 words) - 05:45, 18 January 2013
  • ...a reasonable argument can be made that they should remain limited to avoid code bloat. However, they should be extensible within the D language, without mo This also provides an elegant solution to the code bloat problem. Various goodies could be included in RTTI inside version sta
    4 KB (553 words) - 08:09, 18 January 2013
  • Debug output is a common need when testing code or logging data. Therefore it is natural to provide a means to convert cust ...no longer used, it should instead populate a new <code>{TypeInfo Struct}</code> member ''xwriteTo'' function pointer with appropriate signature.
    6 KB (863 words) - 07:52, 19 January 2013
  • ...ntinuous integration. A regular merging and automated testing of developer code with the mainline codebase. * DRY: Don't Repeat Yourself (in code) a principle summarized as: Every piece of knowledge must have a single, un
    3 KB (513 words) - 21:28, 14 March 2020
  • * this could prevent inefficient intermediate code as reported in Issue 2356 and related, as it would be clear from "S" that a
    3 KB (377 words) - 18:28, 11 December 2013
  • * Properties allow executing additional code. Checking the supplied value, firing events,... .... This is a poor solution for properties as it allows to write nonsensical code:
    10 KB (1,440 words) - 21:40, 20 May 2015
  • The proposed system does not impose versioning policy; instead, it allows code to enact it in URL structure. ...line (including URLs) or in config files, or as pragmas inside the source code.
    10 KB (1,641 words) - 18:53, 28 May 2014
  • # @property functions can't be called with parentheses: <code>x._property()</code> is illegal! (Normal functions are explicitly not affected by this rule!) ...be called (delegate, function pointer, opCall), then <code>x._property()</code> calls the returned value! It essentially behaves exactly as a field would.
    6 KB (840 words) - 21:38, 20 May 2015
  • D is binary compatible with C ABI code. This allows to reuse the huge amount of high quality public C libraries. P
    3 KB (404 words) - 18:53, 28 May 2014
  • !'''Import path binding in source code'''
    2 KB (319 words) - 18:54, 28 May 2014
  • ...icitly importing _.d is already used. This will not conflict with existing code as it is either an error now or doesn't change the scope members.
    3 KB (453 words) - 18:56, 28 May 2014
  • ...module to be replaced with a package, without requiring changes to client code. It solves the problem of modules growing too large to be conveniently mana ...king a module into a package without breaking client code that assumes the code is still in one module.
    3 KB (471 words) - 18:54, 28 May 2014
  • ...s was decided against for this proposal. It would allow rather nonsensical code such as: ...rom a number of problems that present themselves when a compiler optimizes code that deals with things like memory-mapped I/O.
    5 KB (767 words) - 18:55, 28 May 2014
  • ...rent practices are unsafe and error prone. For example, one must check the code of all called functions to see if they don't perform GC allocations. In thi ...ed to not use GC at all (given that no static module constructors use GC). Code of the garbage collector doesn't need to be linked, leading to smaller exec
    4 KB (573 words) - 18:55, 28 May 2014
  • GCC's internal code representation allows volatile statements in the C sense, which is sufficie
    5 KB (721 words) - 10:23, 12 June 2016
  • The Valgrind plugin Callgrind can be used to profile D code, but it does not know how to handle D's mangled names. This program can be ===Code===
    2 KB (334 words) - 07:54, 5 April 2018
  • ...ps://www.google-melange.com/gsoc/homepage/google/gsoc2015 Google Summer of Code 2015 page]. If you are interested in participating in the 2015 GSOC as eit * SDC uses LLVM for code generation, so some familiarity with LLVM will be required (see http://llvm
    14 KB (2,288 words) - 04:08, 31 December 2016
  • Package extends private so that package members can be accessed from code in other modules that are in the same package. This applies to the innermos Public means that any code within the executable can access the member.
    8 KB (1,284 words) - 11:29, 15 February 2018
  • ...fere with them at all. It creates no new limitations and reduces amount of code breakage by changes in other modules. * Meta programming tools like <code>__traits</code> and .tupleof can access '''private''' symbols.
    4 KB (631 words) - 20:59, 8 August 2016
  • ...ion tool. It allows even more struct separation of implementation-specific code and cleans up object files from unneeded symbols, providing more freedom fo ...object file. They are not shown in traits like <code>__traits(allMembers)</code>. From the point of view of other modules they simply do not exist and may
    3 KB (475 words) - 18:56, 28 May 2014
  • * Break as little code as possible ...mbol will apply, if at all, to the value returned by that <code>@property</code>.
    17 KB (2,302 words) - 18:56, 28 May 2014
  • Error messages should ideally not expose the rewritten code.
    7 KB (1,018 words) - 18:57, 28 May 2014
  • ...ionable and that can be easily replaced either with equivalent and clearer code. ...eceived and also wants to return must be also annotated with <code>return</code>. Annotation are deduced for templates and lambdas, but must be explicit fo
    9 KB (1,448 words) - 19:51, 1 September 2015
  • == D source code tools == | about = Tool for analyzing D source code.
    541 bytes (59 words) - 18:40, 6 June 2018
  • ...the objects to know whether they can call '''foo''' with such objects. The code to do the dispatching mechanism by hand would typically look like: ...dding a new leaf class means the user has to inspect and edit the dispatch code.
    5 KB (663 words) - 13:13, 23 March 2014
  • ...lly, use your good taste and try to use a style similar to the surrounding code. Many parts of the [http://llvm.org/docs/CodingStandards.html LLVM Coding S ...upstream source <tt>#if IN_LLVM</tt> blocks, and keep the original source code around for easier comparison. Add a comment referring to the relevant issue
    9 KB (1,581 words) - 02:30, 15 February 2020
  • ...ll a property accessor function with <code>foo()</code> or <code>foo(arg)</code> and is even mandatory if you want to call a returned delegate/function: # So that we don't break existing code.
    14 KB (2,204 words) - 13:08, 11 July 2013
  • ...are first class functions. The DIP also proposes some way to mitigate the code breakage involved and allows optional parenthesis when no confusion is poss ...fication: language/compiler implementation?]. It has been tested on actual code that employs several of D's paradigms. (Sadly, SDC lacks support for some D
    6 KB (952 words) - 22:54, 17 October 2016
  • - Most utility functions/template code depends on have been
    3 KB (455 words) - 13:47, 28 September 2013
  • ...source and API, and is followed by a week of voting. During the review the code can be modified to appease the criticism, and it will be up to the submitte ...it should be in [[Phobos]]. And even if it is decided not to fit, if it is code you are interest in having, others are likely too and can be its own librar
    6 KB (1,027 words) - 21:55, 15 January 2014
  • | 3 ||use -cov to improve code coverage of Phobos modules || [https://codecov.io/gh/dlang/phobos/tree/mast ...e <code>has_public_example</code> module blacklist in <code>.dscanner.ini</code>
    11 KB (1,753 words) - 09:24, 1 May 2020
  • * Less code, no more horrible stubs. * Did I already mention less code?
    9 KB (1,306 words) - 20:04, 1 September 2015
  • ...dn'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 publically im ...types in the AA. For example, if you declare "double[float] aa", the aaA.d code only gets the information about 'float' (via a TypeInfo reference), but no
    9 KB (1,516 words) - 20:17, 8 September 2015
  • bar.getter(); // Equivalent code if @property wasn't used. bar.setter(3); // Equivalent code if @property wasn't used.
    5 KB (743 words) - 15:51, 13 March 2013
  • |Nothing, it enables code that doesn't compile at the moment Requiring switching to unsafe code to do routine things like create immutable references is a glaring problem.
    5 KB (708 words) - 11:22, 23 February 2014
  • Using NASM and D on Posix works out of the box. To compile and link the code use:
    3 KB (413 words) - 10:13, 14 November 2014
  • * There seems to be a bug in the MC code leading to crashes similar to this in rare cases (https://github.com/ldc-de
    3 KB (376 words) - 11:22, 27 April 2014
  • See sample code for constructs with priority noted as comment.
    6 KB (904 words) - 04:39, 25 September 2014
  • ...ter on a tuple as context. As D tuples are not expressible in D, no sample code on that one. pure have the same semantic as for function and is not saying
    8 KB (1,288 words) - 08:44, 3 July 2015
  • * Download and install [http://code.google.com/p/conemu-maximus5/ ConEmu]. ...amples of automatically running DMD (e.g. when developing and testing some code):
    9 KB (1,413 words) - 04:56, 27 March 2018
  • * Use some of the D semantics to improve D code optimization (Walter talks about this all the time); * Implement better high level optimizations for D code that uses array ops.
    6 KB (1,109 words) - 20:23, 1 September 2015
  • Inside tuple literal, <code>;</code> never appears. So it will not be confused with lambdas and ScopeStatements <code>if</code> statement with pattern matching
    17 KB (2,360 words) - 16:31, 11 March 2016
  • ...hy of standard exception classes, to be used in druntime, Phobos, and user code. ...ories (<code>std.exception.ErrnoException</code>, or even <code>Exception</code>). This makes it very hard to distinguish between different error conditio
    19 KB (2,557 words) - 19:26, 1 April 2013
  • ...ictions. Minor redefinition of <code>ref</code> in regards to <code>@safe</code> is also proposed. ...n (possibly) costly value copying for aggregate rvalues. <code>auto ref T</code> is template-based and thus bloats at least the symbol table. A solution is
    9 KB (1,473 words) - 08:06, 25 June 2015
  • ...ance network programs in D, which match the performance of existing native-code solutions Both libraries also contain miscellaneous code which is not specific to networking / event loops:
    13 KB (1,989 words) - 11:34, 12 December 2016
  • ...s impossible to split up a module into a package in place without breaking code, and we'd like to be able to do that. There are also people who want the ab ...the file ''package.d'', we completely avoid the risk of breaking existing code as package is a keyword and therefore is normally illegal as a module name.
    4 KB (594 words) - 05:48, 1 September 2013
  • to implement language changes in library code. Many existing language features could have been implemented with AST macros, like <code>scope</code>, <code>foreach</code> and similar language constructs.
    14 KB (2,079 words) - 19:52, 1 September 2015
  • ...value references: backwards compatible, escapable, safe against ref/nonref code evolution, compatible with UFCS and DIP38 == ...value references: backwards compatible, escapable, safe against ref/nonref code evolution, compatible with UFCS and DIP38.''
    9 KB (1,487 words) - 01:18, 13 May 2013
  • * make the code more DRY * it won't break any code.
    4 KB (538 words) - 07:25, 14 May 2013
  • ...riables need to have an extra <code>extern</code> and the <code>__gshared</code> storage. ...a typedef just use the name of the typedef. No alias is required in the D code in this case. I actual noticed now that you have this example.
    6 KB (947 words) - 16:54, 28 January 2017
  • ...013 talk]. Historically based on D1 / Tango but from their public comments code is being migrated to D2. [http://dconf.org/2015/talks/strasuns.html Talk] ...dex.html#windows ABA Games] (2004-2005). Written in D 0.x, includes source code.
    4 KB (631 words) - 13:03, 25 March 2021
  • This is a natural fit for D. It does not break any existing code, and is simple to implement - it's just a rewrite in the parser.
    994 bytes (146 words) - 00:33, 30 July 2013
  • an abbreviated declaration for class <code>NSComboBox</code>: This declaration will not emit any code because it was tagged as
    22 KB (3,155 words) - 14:44, 28 December 2014
  • This page provides brief biographies of mentors for Google Summer of Code Projects for the D Programming Language. If you are looking for informatio
    350 bytes (54 words) - 05:51, 23 January 2018
  • ...draft in progress: useful snippets for the D newcomer on writing efficient code]]
    215 bytes (25 words) - 14:16, 1 February 2015
  • ...nitial Android port is available but development is paused for now and the code is in early alpha (read useless) state. See [[GDC/Installation/Android|Ins
    1 KB (146 words) - 20:05, 1 September 2015
  • ...ompile a '''release version''' drop {{code|--disable-bootstrap}} and use {{code|--enable-checking&#x3d;release}}. Other configure arguments you might want ...form the build. {{code|make install}} will install the compiled GDC. Use {{code|make install-strip}} to automatically strip symbols from the huge executabl
    7 KB (952 words) - 20:06, 1 September 2015
  • ...though, I want to talk about weak dynamic typing in D. Can we make valid D code that looks like Javascript? ...s, then does a runtime check: if that is the operator they wanted, run the code, which uses mixin to forward it all straight to D. Note that the mixin is d
    5 KB (895 words) - 17:02, 10 May 2017
  • ...the default target (in this case, -m64), then it runs testsuite generating code for the targets specified (-m32 and -mx32).
    7 KB (1,001 words) - 22:38, 27 November 2018
  • ...ms in a way that's straightforward to write, easy to read, and amenable to code reuse. ==Sources of Complexity in Code==
    44 KB (6,579 words) - 20:08, 19 May 2015
  • work on Windows and allow better code generation for other ...uld be equivalent to exporting any instance created from this template. In code:
    13 KB (2,008 words) - 12:39, 31 January 2017
  • 2. Assert-on-any-allocation, used for code that wants to be "nogc". This avoids the complexity
    4 KB (671 words) - 05:05, 29 August 2013
  • ...ws, where fields are separated by a separator (e.g. tab, whitespace), this code might help: *the LineReader defined with <code>File.byLine()</code> reuses its buffer for efficiency and
    1 KB (186 words) - 17:45, 22 September 2017
  • * standard file extension for D source code files is <code>.d</code> * we <code>import</code> a module instead of <code>using</code> a namespace;
    26 KB (3,437 words) - 23:54, 9 May 2021
  • how source code is constructed. When encouraging translation of a project explains, this is unfortunately not the only way source code is perused:
    3 KB (518 words) - 17:23, 8 September 2013
  • == Existing Code == Interface specifications will not break any existing code.
    2 KB (242 words) - 18:11, 8 September 2013
  • ...nstructor. While this can already be achieved by putting the corresponding code in the destructor, using the scope guard syntax is much cleaner and also av There are several problems with this code.
    8 KB (1,074 words) - 12:08, 23 February 2014
  • ...S Windows and on X11 with minimal dependencies. (There's some Mac OS Cocoa code in there, but it is unmaintained because I don't have a Mac.) ...uff-including-D-programming-language-web-stuff/blob/master/simpledisplay.d Code ]
    3 KB (357 words) - 19:43, 1 September 2015
  • ...ilot/phobos/tree/master/std/d std.d.lexer] is standard module for lexing D code, written by
    4 KB (519 words) - 12:49, 13 October 2013
  • ...re is also several low level functions that are not called directly from d code. Instead the compiler generates calls to these functions from d constructio
    8 KB (1,391 words) - 20:04, 1 September 2015
  • * GDC's glue code ==== GDC's glue code ====
    7 KB (1,127 words) - 12:32, 21 February 2016
  • ...ile>||Process all modules specified on the command line, but only generate code for the module <file>. | '''-fno-assert'''||Don't generate runtime code for the <code>assert</code> keyword.
    10 KB (1,432 words) - 16:07, 9 June 2022
  • KeyValue("error-code", error));
    7 KB (959 words) - 16:42, 28 January 2015
  • * Demonstrate that linking to C code is not necessary * Demonstrate that all required assembly code can be done within D
    5 KB (627 words) - 15:06, 18 December 2017
  • ...ts would have only one of the two qualifiers - mutable or <code>immutable</code>. ...de, there are two wildcard qualifiers, <code>const</code> and <code>inout</code>.
    13 KB (1,878 words) - 01:08, 19 December 2013
  • ...To</code>) as well as ''from'' a specified type (<code>opImplicitCastFrom</code>) is outlined. ...<code>opImplicitCastTo</code> could enable, and <code>opImplicitCastFrom</code> is simply not covered by the language today.
    7 KB (990 words) - 00:53, 15 December 2013
  • ...ts would have only one of the two qualifiers - mutable or <code>immutable</code>. ...de, there are two wildcard qualifiers, <code>const</code> and <code>inout</code>.
    6 KB (910 words) - 01:08, 19 December 2013
  • ...ore part of the language right now, widely used both in libraries and user code in variety of forms; changing it will result in uncontrollable breakage. Fi ...d.typetuple` goes through deprecation process with suggestion to port user code to `std.meta.list`, page on dlang.org is created to be referred to that exp
    8 KB (1,137 words) - 18:35, 7 March 2014
  • ...<tt>~/dlang/phobos/generated/linux/release/64/libphobos2.a</tt> and <tt>~/code/phobos/generated/linux/release/64/libphobos2.so</tt>.
    7 KB (1,109 words) - 12:29, 9 March 2023
  • * Merge the <code>d/dfrontend</code> sources with upstream DMD releases (stable branch). * Merge the <code>libphobos/libdruntime</code> sources with upstream Druntime releases (stable branch).
    3 KB (463 words) - 03:02, 18 February 2018
  • ...rmats the messages with xvasprintf before passing to the common diagnostic code. The DMD front end should be disabled, to prevent exgettext from extractin * Improve GDC diagnostic to use <code>diagnostic_report_diagnostic()</code> directly, [https://github.com/D-Programming-GDC/GDC/pull/497 GDC#497]
    9 KB (1,363 words) - 22:15, 28 October 2018
  • *[http://www.dsource.org/projects/gdb-patches Patching GDB] to understand D code/mangling * frontend - Turn the source code into an internal representation - [http://gcc.gnu.org/onlinedocs/gccint/GEN
    11 KB (1,733 words) - 20:04, 1 September 2015
  • ...ode>$HOME/gdc-src/gcc/</code> - This directory will contain the GCC source code downloaded from a GCC mirror ...ode>$HOME/gdc-src/gdc/</code> - This directory will contain the GDC source code cloned from the GDC GitHub repository
    7 KB (1,073 words) - 19:59, 22 June 2017
  • * Martin Nowak, code@dawg.eu * David Nadlinger, code@klickverbot.at
    2 KB (242 words) - 19:45, 11 February 2014
  • * A tool to extract strings which need to be translated from D code ** Optionally adding support for D code to xgettext
    18 KB (2,945 words) - 20:23, 1 September 2015
  • // ... insert user code here ... The '''myWinMain()''' function is where the user code goes, the rest of '''WinMain''' is boilerplate to initialize and shut down
    3 KB (380 words) - 16:02, 12 December 2021
  • # [https://github.com/Hackerpilot/libdparse/blob/master/src/std/lexer.d Code]
    638 bytes (92 words) - 07:14, 30 April 2015
  • ...nerate soft-float code and the soft-float compiler can generate hard-float code as well) as long as the appropriate platform compiler flags are used. The d ...g GDC branch from the [https://github.com/D-Programming-GDC/GDC GDC source code repository].
    7 KB (838 words) - 19:04, 8 September 2015
  • Sometimes generating better code requires runtime profile information. But being a static compiler, not a JI With the <code>-inline</code> compiler flag:
    2 KB (283 words) - 00:07, 5 February 2015
  • ...this section are ones that have no functional change. That is to say, the code they are applied on will produce the same result regardless of if a compile
    2 KB (298 words) - 23:15, 3 February 2015
  • Although D is designed to make it easy to port code between 32 and 64 bit modes, being a systems programming language, dependen Not all code can be made portable between 32 and 64 bits, and must be versioned. The fol
    3 KB (472 words) - 10:14, 14 November 2014
  • D can easily interface to C code, be linked with C object files, and call C functions in DLLs. ...] compiler extension, a D compiler can directly import or compile C source code.
    11 KB (1,696 words) - 10:44, 27 March 2024
  • Timing a section of code is as simple as snipping out the three lines of code: { ... code to be profiled ... }
    4 KB (649 words) - 10:15, 14 November 2014
  • ...versions is problematic because the "A" versions accept strings in various code page encodings. This is not directly compatible with D's char[] strings, wh
    2 KB (281 words) - 08:29, 13 November 2014
  • ...ool to ensure that unit testing gets done and updated in parallel with the code. ...what code is between the { } of the unittest blocks. It can be any valid D code that does whatever needs to be done.
    2 KB (304 words) - 10:15, 14 November 2014
  • To compile your program, go to the folder your source code is in. For example, if you saved it in "C:\My Projects\D\" you would type i
    2 KB (416 words) - 10:16, 14 November 2014
  • For a complete D solution with sample code and some wrapping to make working with COM easier, see Adam D Ruppe's [http The sample code includes an example COM client program and server DLL.
    3 KB (414 words) - 05:54, 28 October 2016
  • ...E file will use the optimization assumption that '''_tls_index==0'''. Such code in a DLL will crash. A DLL presenting a C interface can connect to any other code in a language that supports calling C functions in a DLL.
    8 KB (1,256 words) - 19:59, 27 December 2023
  • |rowspan=4|[https://code.visualstudio.com/ Visual Studio Code] |[https://marketplace.visualstudio.com/items/webfreak.code-d code-d]
    4 KB (446 words) - 11:10, 25 June 2022
  • For example code, see:
    3 KB (446 words) - 12:30, 29 March 2024
  • ...mum efficiency using the protocol, it'll have to be done explicitly in the code. Here's toupper() rewritten to implement copy-on-write in an efficient mann ...s detaching it from the runtime], marking the thread function <code>@nogc</code>, and ensuring the real-time thread does not hold any GC roots. GC objects
    21 KB (3,112 words) - 03:45, 16 May 2019
  • ! Current behavior<br>(code point iteration) ! Code unit iteration
    3 KB (454 words) - 22:41, 9 March 2014
  • ...e advantage by treating the input as a range of code units (or an array of code units), must incorporate D strings as a special case. This approach complic Currently, the following code fails:
    10 KB (1,622 words) - 12:20, 22 September 2022
  • ...s an additive language change. The only code that will change behaviour is code that contains the new construct. The new language construct is specified ec
    5 KB (627 words) - 11:46, 9 May 2017
  • ...Expression1 .. Expression2</code> is parsed as a ToExpression (<code>a..b</code> can be read "a to b"). ".." has the lowest operator precedence of any bin <code>meshgrid</code>, as implemented in [http://www.mathworks.com/help/matlab/ref/meshgrid.html
    6 KB (695 words) - 08:08, 17 March 2014
  • ...zero, the shared counter is decremented atomically (see <code>_d_rc_free</code>). When new local counter is created (for another thread), shared counter i ...zero, the shared counter is decremented atomically (see <code>_d_rc_free</code>). Unshared references include shallow shared objects like strings.
    20 KB (2,909 words) - 01:54, 14 February 2018
  • ==Program Code==
    1 KB (208 words) - 20:03, 23 March 2014
  • Many users want to be able to guarantee that code will not allocate using the GC. This code (and its mutable __gshared variants) should work since the beginning:
    3 KB (435 words) - 17:54, 15 June 2014
  • Best practices in C++ code increasingly means putting functions and declarations in namespaces. Curren ...ted to be minor. The change is additive and should not impact any existing code.
    3 KB (453 words) - 06:07, 17 July 2014
  • || const + alias this = wrong code
    6 KB (873 words) - 23:37, 20 September 2014
  • This code adds state to ranges without declaring a new type: the ptr ...that is _instantiated_ by unittests build is accounted for (~ all covered code).
    279 KB (42,771 words) - 07:12, 26 January 2019
  • ...l requests for dmd, particularly those that will add new features or break code.
    729 bytes (134 words) - 10:27, 5 June 2014
  • === Effects of volatile on code generation === This document will provide detailed rules for code generation, but it's useful to understand the basic idea behind all these d
    29 KB (4,221 words) - 04:18, 16 April 2016
  • ...escape which is not marked in the signature should cause an error in @safe code, at least. Inference should be used eventually to alleviate the burden of m
    2 KB (345 words) - 19:53, 1 September 2015
  • ...inter-operation requires expansion. This is both error-prone and pollutes code with lot of otherwise unneeded ''.expand'' suffixes. Somewhat more robust i ...f ''opIndex'' and ''opDollar'' are defined and generate static ''foreach'' code same as it is done for built-in template argument lists.
    5 KB (786 words) - 16:31, 13 July 2014
  • ...all to DMD will increase when the compiler must generate terminal printing-code of all the arguments for all the unittests found in the compilation unit of
    8 KB (1,009 words) - 21:46, 24 December 2016
  • ...hat do not use the @-syntax. A tool will be created that can easily update code to use the new attributes. (e.g. by translating "nothrow" to "@nothrow") First, an example. The following code using attribute sets:
    3 KB (416 words) - 04:02, 2 June 2015
  • According to the grammar documentation on dlang.org, the following code: ...atch''' rule is removed. Users who want to keep the functionality of their code unchanged must now explicitly "catch (Throwable)". This change is necessary
    2 KB (333 words) - 23:31, 17 July 2014
  • ** Halfway™ decent auto code completion including pre-compile time ...information about which symbols could be accessed or typed in a particular code context</small>
    11 KB (1,661 words) - 11:21, 28 August 2023
  • ...s://github.com/aBothe/Mono-D/issues/591 #591] - Handling Linked folders in code completion etc. * Render hit counts next to the highlighted code coverage lines
    8 KB (1,061 words) - 11:31, 16 March 2018
  • Presumably performance is the reason, but that doesn't explain why code sharing is not possible between buffered and unbuffered versions.
    218 bytes (34 words) - 17:47, 15 July 2014
  • ...ramming-Language/dmd/pull/3809 fix Issue 13023] - optimizer produces wrong code for comparision and division of ulong</tt>
    5 KB (655 words) - 19:17, 1 September 2015
  • ...b.com/D-Programming-Language/dmd/pull/3739 fix Issue 12989] - Wrong x86_64 code for delegate return when compiled as lib</tt> ...Language/dmd/pull/3711 fix Issue 12255] - opCmp requirement for AAs breaks code</tt>
    6 KB (866 words) - 19:16, 1 September 2015
  • wrapping code in try/catch or adding an operator in a few keystrokes.
    4 KB (596 words) - 21:46, 12 November 2021
  • ...fix Issue 13149] - &#91;2.066&#93; released libphobos2.a is build with PIC code</tt>
    4 KB (583 words) - 19:17, 1 September 2015
  • fix versions if needed. The release manager offer the source code of the release as a tarball (*.tar.gz, *.tar.xz) as well
    5 KB (715 words) - 17:58, 25 July 2016
  • ...//github.com/D-Programming-Language/dmd/pull/3848 fix Issue 13237] - Wrong code with "-inline -O"</tt>
    3 KB (455 words) - 19:17, 1 September 2015
  • clang++: error: linker command failed with exit code 1 (use -v to see invocation)
    15 KB (2,366 words) - 06:11, 10 January 2017
  • == Problem: Repetitive code with slight variations == * Minimal code duplication
    2 KB (302 words) - 10:19, 14 November 2014
  • ...e operating systems wanting to get a similar simple experience for testing code on Windows. It may use very non-idiomatic solutions that will make any expe
    4 KB (614 words) - 14:16, 7 May 2015
  • ...om/D-Programming-Language/dmd/pull/3849 Pull #3849] -> Issue 13235 - Wrong code on mutually recursive tuple type ...om/D-Programming-Language/dmd/pull/3934 Pull #3934] -> Issue 13383 - wrong code with -O with ints, longs and bitwise operations
    7 KB (853 words) - 19:18, 1 September 2015
  • In order to reduce the verbosity of D code (any D code, not just code making use of C++ libraries although they're the most affected) some experi ...ly requested, its absence considered by many as producing terrible looking code, yet despite pull requests never made it into D:
    3 KB (544 words) - 05:00, 27 March 2018
  • ...there, but let's make this even cooler. Let's make it where you can code D code in XCode, have it compile and create your .o file, before Objective C is co ...and choose New Run Script Phase. Simply paste the following into the black code area below the shell field:
    7 KB (1,230 words) - 23:53, 9 May 2021
  • * <tt>@system</tt> code like <tt>std.internal.scopebuffer</tt> can be made <tt>@safe</tt>. This proposal ensures statically that variables in <tt>@safe</tt> code with the <tt>scope</tt> storage class have a lifetime that includes their v
    24 KB (3,898 words) - 19:53, 1 September 2015
  • ...ps://www.google-melange.com/gsoc/homepage/google/gsoc2015 Google Summer of Code 2015 page]. If you are interested in participating in the 2016 GSOC as eit ...king like the C code. For example, the same order for the symbols as the C code has. Currently it outputs all variables first, then all types and all funct
    16 KB (2,611 words) - 23:08, 26 December 2016
  • In the code below... ...nversion dictated by <code>obj.symbol</code> (which may be a <code>static</code> member variable, a direct member variable, or a method).
    11 KB (1,657 words) - 09:59, 27 February 2023
  • ;Switch to self-hosting (<code>ddmd</code>) ...emains a primary concern going forward for the standard library and client code.
    7 KB (1,006 words) - 05:37, 18 May 2018
  • ...This allowed new function attributes to be added without breaking existing code. The disadvantage of this was that now a function with both kinds of attri ...may be added as keywords. However, doing so would result in breaking any code that previously used these words somewhere else such as a variable or funct
    8 KB (1,304 words) - 10:09, 8 June 2016
  • ; Switch to self-hosting (<code>ddmd</code>) ...standard library usable in its entirety without a garbage collector. Safe code should not require the presence of a garbage collector.
    5 KB (719 words) - 10:14, 17 May 2018
  • * code and binary size can go out of the limits of standard library ::Code name: ''Curiosity'' or ''Mars'' (Mars is already related to historical name
    6 KB (896 words) - 18:38, 6 March 2015
  • * <tt>@safe</tt> code may not issue explicit calls to <tt>opAddRef</tt>/<tt>opRelease</tt>. ...ot <tt>null</tt>. The lowering of <tt>auto a = lvalExpr;</tt> to pre-DIP74 code is conceptually as follows:
    15 KB (2,311 words) - 16:00, 4 March 2015
  • * [http://code.dlang.org/ DUB] - Also functions as a build tool * The D programming language has a built-in code documentation language ([http://dlang.org/ddoc.html DDoc]) and documentatio
    6 KB (868 words) - 18:08, 8 August 2021
  • without compromising performance, allowing unparalleled code reuse in performance-sensitive projects. ...++ code while shedding the burden of backwards compatibility with C source code,
    10 KB (1,374 words) - 01:15, 14 December 2018
  • ....com/watch?v=y-k7GyOcs3o "It just works".] Make sure you visit the github code, and not the old version up at bitbucket. <code> D calling embedded Python
    2 KB (296 words) - 11:59, 26 April 2015
  • ...outine, which initializes the microcontroller before calling <code>main()</code>. * Your source code - of course
    2 KB (391 words) - 19:03, 8 September 2015
  • believe that D is easier to port C code to than C++ because you equivalent imperative code.
    16 KB (2,917 words) - 02:14, 12 December 2018
  • ...e with the compiler using a new special type, say, <code>core.macros.Auto</code>. ...ion as arguments. It also makes the returned ast to automatically mix into code at the point of invocation.
    4 KB (573 words) - 15:01, 16 March 2016
  • ...tual or variables, you are forced to put them before <strong><code>final:</code></strong>.</p> ...s DIP I will address solution which use exclamation mark (<strong><code>!</code></strong>) for attribute negation.</p>
    5 KB (731 words) - 10:30, 2 June 2015
  • : LDC already supports Solaris and Linux on x86. A code generator for SPARC is part of LLVM core distribution. Adding support for S ; Compile D code as CUDA kernel [Expert] (See [http://dconf.org/2017/talks/wilson.html DComp
    5 KB (760 words) - 18:41, 16 July 2017
  • ...tps://github.com/andralex/phobos/tree/allocator/std/experimental/allocator Code]
    1 KB (190 words) - 14:31, 25 July 2015
  • ...ming or CTFE then it may be helpful to create the new struct definition in code. ...D to support their big data analysis of economic fundamental developments. Code from https://github.com/economicmodeling/soa:
    5 KB (672 words) - 03:02, 17 February 2018
  • # Minimize amount of generated instance code (makes obj/lib files smaller) # Minimize amount of semantic analysis for instance code (speed up compilation with heavily templated libraries)
    5 KB (814 words) - 10:15, 19 July 2015
  • ...ub.com/jacob-carlborg/dvm DVM] can build and locally install D from source code. ...Windows, {{code|dtab}} (transforms tabs into spaces in source code) and {{code|tolf}} (replaces line endings with LF) might prove helpful.
    19 KB (3,064 words) - 18:28, 11 December 2019
  • D's <code>immutable</code> signifies - in constrast to C++'s <code>const</code> - physical immutability, i.e. a guarantee that memory occupied by immutabl ...an even be unsafe in combination with implicit sharing of <code>immutable</code> data (see below).
    7 KB (974 words) - 06:54, 29 June 2016
  • // my test code... ...tantiated in the unittest build of that module even if nothing else in the code references that template. So, the programmer will not have to put additiona
    10 KB (1,425 words) - 04:57, 27 September 2015
  • Generating code at compile time using compile time reflection is one of the most distinguis : The debugger cannot attach to mixedin code; one has to print the resulting code with pragma(msg, ) to inspect it
    9 KB (1,416 words) - 09:07, 14 August 2015
  • ! Name || DMD || DMD-nightly || GDC || LDC || Disassembly || Runs code
    1 KB (145 words) - 13:12, 16 July 2020
  • ...er Bright has fixed many bugs that allow unsafe behavior in <tt>@safe</tt> code. ...o lowerings and <tt>__traits</tt>-based introspection that leverage client code, thus moving compiler smarts into simpler library facilities
    5 KB (666 words) - 20:32, 2 June 2018
  • ...oing to look at how to build a project consisting of both C++ and D source code. # Write code -> source files (.d, .cpp and .h)
    5 KB (902 words) - 01:59, 3 December 2019
  • This is the D Google Summer of Code page for 2017 - it is currently under construction. If you are interest ...ir-random uniform floating point implementation to clang and g++. You will code C++, our longterm goal is C++ standard.
    18 KB (2,845 words) - 18:07, 5 December 2017
  • ...n examples are <code>isInputRange!R</code> and <code>isOutputRange!(R, E)</code>. It is also common to statically assert that a user-defined type satisfies ...ompiler error message indicating that <code>void foo() is not implemented</code>. Similarly, it is not possible to instantiate a class with unimplemented a
    6 KB (745 words) - 05:07, 4 March 2018
  • ...the existing keyword <code>lazy</code>. A member annotated as <code>lazy</code> triggers the following behaviours: ...h lazy members are allowed if all lazy members are marked as <code>shared</code>
    4 KB (570 words) - 15:03, 14 November 2015
  • --><br /><code> ldc2 -fprofile-instr-generate test.d -of=test-instr</code> # Run executable: <br /><code> ./test-instr </code> <br /> This generates a "default.profraw" file.
    9 KB (1,179 words) - 13:11, 19 July 2017
  • * It is a compiled, statically typed language that can produce code as fast as C. ...from C and C++. This is important because a significant amount of existing code is written in C and C++.
    1 KB (175 words) - 02:12, 23 November 2015
  • ...g. This document sets out a number of style guidelines that all new Phobos code should follow. The plan going forward is to automate these simple rules for ...copes and <tt>static if</tt> shall be on their own line. There is no other code on lines with such braces.
    5 KB (769 words) - 11:52, 21 September 2018
  • Code that currently uses <syntaxhighlight lang="D" enclose="none">pragma(mangle) ...rrently functionality explicitly, which may be detrimental to some generic code. However, simply omitting <syntaxhighlight lang="D" enclose="none">extern(D
    6 KB (868 words) - 05:49, 4 March 2018
  • It is confusing to the users of D that the following code compiles: but the following code does not:
    1 KB (169 words) - 02:29, 14 January 2016
  • ...tern followed by tools has been to integrate on [http://code.dlang.org <tt>code.dlang.org</tt>], i.e. outside the official tools distributed with dmd. ....ro/event4 conference] in Brasov, Romania. Andrei also gave a talk on D at code::dive in Poland ([https://www.youtube.com/watch?v=3NihZVcZqto video], [http
    8 KB (1,335 words) - 05:40, 18 May 2018
  • The above code would compile since it's still perfectly fine to call a function declared w No code is expected to break since all changes are additive. This is enforced by re
    7 KB (912 words) - 05:54, 4 March 2018
  • ...lMars is part of the DMD Windows distribution and should be part of your {{code|PATH}}. ...ake installed on your system too, use the full path to DigitalMars make: {{code|C:\D\dmd2\windows\bin\make}}.
    10 KB (1,569 words) - 18:14, 23 January 2023
  • ...e there are some simple examples to get you started with various levels of code complexity and compatibility. ...ay to log anything to the console in D is by simply using <code>std.stdio</code> and the [https://dlang.org/phobos/std_stdio.html#.write write/writeln] and
    7 KB (1,010 words) - 11:56, 16 July 2020
  • We don't have a written Code of Conduct at the D Language Foundation because we believe people who would
    5 KB (813 words) - 01:31, 28 July 2018
  • * Android, whether a device or emulator, to run your D code * LDC for Termux: <code>apt install ldc</code> With Android version 9 and earlier, the install will fail.
    18 KB (2,884 words) - 20:14, 11 May 2024
  • ...allow me to offer you a translation of the Tour of the Go with equivalent code in D accompanied by brief explanations. ...rallel start template function. In addition, following the best practices, code examples, we will arrange a test.
    16 KB (2,253 words) - 05:03, 18 February 2018
  • '''undeaD''' is a [[github]] project that has been created to hold source code that was in the D standard library (named [[Phobos]]), but was removed at s *[https://code.dlang.org/packages/undead undeaD dub page]
    402 bytes (60 words) - 02:45, 7 March 2020
  • If you need help you can ask questions on <code>#d</code> IRC channel on libera.chat ([https://kiwiirc.com/nextclient/irc.libera.cha == Code ==
    11 KB (1,786 words) - 09:38, 12 March 2024
  • ...p, heavy-hitting ranks: owners of important projects and responsibilities, code reviewers, designers, technical leaders. ...age design and implementation that allow unsafe behavior in <tt>@safe</tt> code.
    5 KB (808 words) - 05:42, 18 May 2018
  • This tool would "translate" compilable D code to compilable D code. See initial idea discussed in [https://issues.dlang.org/show_bug.cgi?id=50 * expand all possible mixins in the code
    5 KB (737 words) - 13:19, 14 May 2019
  • ...rary, the RAD concept and the [http://wiki.freepascal.org/SynEdit Synedit] code editor component. Some of the tools used in background are written in D. Th ...milar to any other IDE. Most of the IDE-grade features (completion, hints, code navigation) are provided by [[DCD]]. Other background tools used includes [
    4 KB (611 words) - 16:45, 13 March 2018
  • ...s to widen and facilitate C++ support while minimizing intrusions into the code of the DMD frontend and LDC. You can follow and help out with the current d ...support, instantiation of C++ class, function and variable templates by D code
    6 KB (918 words) - 17:05, 17 August 2019
  • ...hese were separated for ease of development, but have the vast majority of code the same. The ABI code should be moved to the rest of the ABI code
    13 KB (1,934 words) - 05:20, 27 February 2017
  • ...if the D source contains a line <code>string str = "fmul fast is great";</code>?!<br> # Change a bit of LDC code, or add/change a test
    12 KB (1,973 words) - 15:17, 16 May 2021
  • ...hports.org/lang/ldc/ FreeBSD ports tree]. LDC can be installed from source code or it can be installed from FreeBSD binary package == Installing from ports tree (source code) ==
    506 bytes (80 words) - 13:52, 8 September 2023
  • This document is intended to be a guide maintainer of <code>dlang</code> repositories on GitHub. However, it might contain interesting details for * Is it a regression fix? (check: it should be based ontro <code>stable</code>)
    12 KB (1,981 words) - 14:20, 24 February 2021
  • ...when the compiler performs its black magic of transforming human-written D code into machine-readable executables. So, the reasoning goes, if feature X is ...s, it is helpful to know roughly the stages of compilation that a piece of code goes through:
    48 KB (7,805 words) - 16:40, 13 May 2022
  • * Do not hold code hostage on a matter of preference of the reviewer. The submitter and the re
    2 KB (329 words) - 07:47, 2 March 2018
  • For example, to prepare for link-time optimization between your user code and the static runtime libraries, you can recompile the runtime libraries w ...f using ldc with the newly generated runtime libraries to compile your own code.
    6 KB (740 words) - 20:29, 3 February 2023
  • This is the D Google Summer of Code page for 2018. ...popular languages like Python, R or Julia) - is compiled to native machine code and gets optimized by the sophisticated LLVM backend.
    34 KB (5,227 words) - 09:35, 2 October 2019

View (previous 250 | next 250) (20 | 50 | 100 | 250 | 500)