Files

290 lines
28 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html class="client-nojs" lang="en" dir="ltr">
<head>
<meta charset="UTF-8"/>
<title>LDC - D Wiki</title>
<script>document.documentElement.className = document.documentElement.className.replace( /(^|\s)client-nojs(\s|$)/, "$1client-js$2" );</script>
<script>(window.RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"LDC","wgTitle":"LDC","wgCurRevisionId":10298,"wgRevisionId":10298,"wgArticleId":21,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["LDC"],"wgBreakFrames":false,"wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgMonthNamesShort":["","Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"wgRelevantPageName":"LDC","wgRelevantArticleId":21,"wgRequestId":"93a651e4819079ea3edb7cd0","wgIsProbablyEditable":false,"wgRelevantPageIsProbablyEditable":false,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgWikiEditorEnabledModules":[]});mw.loader.state({"site.styles":"ready","noscript":"ready","user.styles":"ready","user":"ready","site":"ready","user.options":"ready","user.tokens":"loading","ext.smw.style":"ready","ext.smw.tooltip.styles":"ready","mediawiki.legacy.shared":"ready","mediawiki.legacy.commonPrint":"ready","mediawiki.sectionAnchor":"ready","mediawiki.skinning.interface":"ready","skins.vector.styles":"ready"});mw.loader.implement("user.tokens@1d7z0ue",function($,jQuery,require,module){/*@nomin*/mw.user.tokens.set({"editToken":"+\\","patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"});
});mw.loader.load(["ext.smw.style","ext.smw.tooltips","mediawiki.page.startup","mediawiki.user","mediawiki.hidpi","mediawiki.page.ready","mediawiki.toc","mediawiki.searchSuggest","skins.vector.js"]);});</script>
<link rel="stylesheet" href="/load.php?debug=false&amp;lang=en&amp;modules=ext.smw.style%7Cext.smw.tooltip.styles&amp;only=styles&amp;skin=vector"/>
<link rel="stylesheet" href="/load.php?debug=false&amp;lang=en&amp;modules=mediawiki.legacy.commonPrint%2Cshared%7Cmediawiki.sectionAnchor%7Cmediawiki.skinning.interface%7Cskins.vector.styles&amp;only=styles&amp;skin=vector"/>
<script async="" src="/load.php?debug=false&amp;lang=en&amp;modules=startup&amp;only=scripts&amp;skin=vector"></script>
<meta name="ResourceLoaderDynamicStyles" content=""/>
<link rel="stylesheet" href="/load.php?debug=false&amp;lang=en&amp;modules=site.styles&amp;only=styles&amp;skin=vector"/>
<meta name="generator" content="MediaWiki 1.31.2"/>
<link rel="alternate" type="application/rdf+xml" title="LDC" href="/?title=Special:ExportRDF/LDC&amp;xmlmime=rdf"/>
<link rel="shortcut icon" href="/favicon.ico"/>
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch_desc.php" title="D Wiki (en)"/>
<link rel="EditURI" type="application/rsd+xml" href="https://wiki.dlang.org/api.php?action=rsd"/>
<link rel="license" href="http://www.gnu.org/copyleft/fdl.html"/>
<!--[if lt IE 9]><script src="/load.php?debug=false&amp;lang=en&amp;modules=html5shiv&amp;only=scripts&amp;skin=vector&amp;sync=1"></script><![endif]-->
</head>
<body class="mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-LDC rootpage-LDC skin-vector action-view"> <div id="mw-page-base" class="noprint"></div>
<div id="mw-head-base" class="noprint"></div>
<div id="content" class="mw-body" role="main">
<a id="top"></a>
<div class="mw-indicators mw-body-content">
</div>
<h1 id="firstHeading" class="firstHeading" lang="en">LDC</h1> <div id="bodyContent" class="mw-body-content">
<div id="siteSub" class="noprint">From D Wiki</div> <div id="contentSub"></div>
<div id="jump-to-nav" class="mw-jump">
Jump to: <a href="#mw-head">navigation</a>, <a href="#p-search">search</a>
</div>
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><div class="mw-parser-output"><div style="background: #eee; padding: 0.5ex 0.5ex;">
<p>Compilers: <a href="/Compilers" title="Compilers">Overview</a> — <a href="/DMD" title="DMD">DMD</a> — <a href="/GDC" title="GDC">GDC</a> — <a class="mw-selflink selflink">LDC</a>
<span style="float:right; color:#ccc; font-size:0.9em; padding: 0.4em 0.4em;"><a href="/Compilers_Widget" title="Compilers Widget">&#9998;</a></span>
</p>
</div>
<p>The LDC project aims to provide a portable D programming language compiler with modern optimization and code generation capabilities. The compiler uses the official DMD frontend to support the latest D2 version and relies on the <a rel="nofollow" class="external text" href="http://llvm.org">LLVM Core libraries</a> for code generation.
</p><p>LDC is fully Open Source; the parts of the code not taken/adapted from other projects are BSD-licensed (see the <a rel="nofollow" class="external text" href="https://github.com/ldc-developers/ldc/blob/master/LICENSE">LICENSE</a> file for details).
</p><p>D1 is no longer supported in the current development tree; the last version supporting it can be found at the <tt><a rel="nofollow" class="external text" href="https://github.com/ldc-developers/ldc/tree/d1">d1</a></tt> Git branch.
</p>
<div id="toc" class="toc"><div class="toctitle" lang="en" dir="ltr"><h2>Contents</h2></div>
<ul>
<li class="toclevel-1 tocsection-1"><a href="#Getting_started"><span class="tocnumber">1</span> <span class="toctext">Getting started</span></a></li>
<li class="toclevel-1 tocsection-2"><a href="#Project_status"><span class="tocnumber">2</span> <span class="toctext">Project status</span></a>
<ul>
<li class="toclevel-2 tocsection-3"><a href="#Architectures"><span class="tocnumber">2.1</span> <span class="toctext">Architectures</span></a></li>
<li class="toclevel-2 tocsection-4"><a href="#Operating_Systems"><span class="tocnumber">2.2</span> <span class="toctext">Operating Systems</span></a></li>
</ul>
</li>
<li class="toclevel-1 tocsection-5"><a href="#Contributing"><span class="tocnumber">3</span> <span class="toctext">Contributing</span></a></li>
<li class="toclevel-1 tocsection-6"><a href="#Presentations"><span class="tocnumber">4</span> <span class="toctext">Presentations</span></a></li>
<li class="toclevel-1 tocsection-7"><a href="#Useful_Links"><span class="tocnumber">5</span> <span class="toctext">Useful Links</span></a></li>
</ul>
</div>
<h2><span class="mw-headline" id="Getting_started">Getting started</span></h2>
<ul><li><b><a rel="nofollow" class="external text" href="https://github.com/ldc-developers/ldc/tags">Download an official release</a></b> or the <b><a rel="nofollow" class="external text" href="https://github.com/ldc-developers/ldc/releases/tag/CI">latest CI build</a></b>, incl. prebuilt binaries for Linux/macOS/Windows/Android/FreeBSD.</li>
<li><a href="/Building_LDC_from_source" title="Building LDC from source">Building LDC from source</a></li>
<li><a href="/Building_and_hacking_LDC_on_Windows_using_MSVC" title="Building and hacking LDC on Windows using MSVC">Building and hacking LDC on Windows using MSVC</a></li>
<li><a href="/Using_LDC" title="Using LDC">Using LDC</a> (<a href="/LDC-specific_language_changes" title="LDC-specific language changes">LDC-specific language changes</a> — <a href="/LDC_inline_assembly_expressions" title="LDC inline assembly expressions">LDC inline assembly expressions</a> — <a href="/LDC_inline_IR" title="LDC inline IR">LDC inline IR</a>)</li>
<li><a href="/Cross-compiling_with_LDC" title="Cross-compiling with LDC">Cross-compiling with LDC</a></li>
<li><a href="/Reporting_LDC_issues" title="Reporting LDC issues">Reporting LDC issues</a> — <a href="/LDC_contributor%27s_guide" title="LDC contributor&#39;s guide">LDC contributor's guide</a></li></ul>
<h2><span class="mw-headline" id="Project_status">Project status</span></h2>
<p><b>NOTE</b>: As Wiki pages usually don't keep up with development, the <a rel="nofollow" class="external text" href="https://github.com/ldc-developers/ldc/blob/master/CHANGELOG.md">changelog</a> might be of use to check for recent developments and newly conquered targets.
</p>
<h3><span class="mw-headline" id="Architectures">Architectures</span></h3>
<table class="wikitable">
<tbody><tr>
<th>x86 / x86_64
</th>
<td>Fine, CI-tested.
</td></tr>
<tr>
<th>64-bit ARM
</th>
<td>Basically fine, a few testsuite failures remain (for non-Apple OS). See <a rel="nofollow" class="external text" href="https://github.com/ldc-developers/ldc/issues/2153">tracker issue</a> for ~current status.
</td></tr>
<tr>
<th>32-bit ARM
</th>
<td>Should be okay-ish, not really CI-tested though (Android ARMv7-A somewhat is). E.g., see <a rel="nofollow" class="external text" href="https://github.com/ldc-developers/ldc/issues/2810">tracker issue</a> and <a href="/Minimal_semihosted_ARM_Cortex-M_%22Hello_World%22" title="Minimal semihosted ARM Cortex-M &quot;Hello World&quot;">Minimal semihosted ARM Cortex-M "Hello World"</a>.
</td></tr>
<tr>
<th>WebAssembly
</th>
<td>Should work fine; currently limited to <tt>-betterC</tt> (lacking druntime/Phobos support). See <a href="/Generating_WebAssembly_with_LDC" title="Generating WebAssembly with LDC">Generating WebAssembly with LDC</a> for a quick how-to.
</td></tr>
<tr>
<th>PowerPC
</th>
<td>Incomplete; has been worked on (32-bit, 64-bit big &amp; little endian) but not touched/tested in years. E.g., see <a rel="nofollow" class="external text" href="https://github.com/ldc-developers/ldc/issues/1313">tracker issue</a>.
</td></tr>
<tr>
<th>MIPS
</th>
<td>Incomplete; has been worked on but not really touched/tested in years. E.g., see <a rel="nofollow" class="external text" href="https://github.com/ldc-developers/ldc/issues/2995">tracker issue</a>.
</td></tr>
<tr>
<th>Others
</th>
<td>Basic code generation should work as long as there's an LLVM backend, and simple <tt>-betterC</tt> code might just work.<br />druntime/Phobos support is most likely lacking (and probably requires a new <tt>version</tt> predefined by the compiler).<br />Proper C(++) interop most likely requires a new <tt>TargetABI</tt> implementation in the compiler.
</td></tr>
</tbody></table>
<h3><span class="mw-headline" id="Operating_Systems">Operating Systems</span></h3>
<table class="wikitable">
<tbody><tr>
<th>Linux
</th>
<td>glibc and musl environments are working fine &amp; CI-tested (on i686 / x86_64 / AArch64 for glibc, x86_64 for musl).<br />uClibc should be usable but isn't tested.
</td></tr>
<tr>
<th>macOS
</th>
<td>Fine, CI-tested on arm64 and x86_64. Requires macOS v10.7+ for native TLS. 32-bit i686 support was dropped with LDC v1.15.
</td></tr>
<tr>
<th>Windows
</th>
<td>Fine for 'native' MSVC (Microsoft Visual C++) environments, CI-tested on Win32 &amp; Win64.<br /><b>NOTE</b>: LDC uses 64-bit double precision for <tt>real</tt>, unlike DMD, for MSVC <tt>long double</tt> compatibility.<br />32-bit MinGW support was almost complete at one stage but got neglected; a manageable number of adaptations (mainly in druntime) would probably suffice to support it again.
</td></tr>
<tr>
<th>Android
</th>
<td>Should be usable for ARMv7-A / AArch64 / i686 / x86_64, only rudimentarily CI-tested though (cross-compilability).<br />Check out the <a href="/Build_D_for_Android" title="Build D for Android">Build D for Android</a> article for how to get started.
</td></tr>
<tr>
<th>iOS / tvOS /<br />watchOS
</th>
<td>Should be usable with 64-bit ARM (all druntime/Phobos unittests pass on iOS with LDC v1.21), only rudimentarily CI-tested though.<br />The <a rel="nofollow" class="external text" href="https://github.com/ldc-developers/ldc/releases/latest">official</a> prebuilt macOS package supports cross-compilation out-of-the-box, just use <tt>-mtriple=arm64-apple-ios12.0</tt>.
</td></tr>
<tr>
<th>FreeBSD
</th>
<td>Fine, CI-tested on x86_64. Requires LLD 9+ to pull in <tt>libexecinfo</tt> automatically when linking static druntime.
</td></tr>
<tr>
<th>Other BSDs
</th>
<td>Should be usable, not CI-tested though.
</td></tr>
<tr>
<th>Solaris
</th>
<td>Ditto.
</td></tr>
</tbody></table>
<h2><span class="mw-headline" id="Contributing">Contributing</span></h2>
<p>LDC is an entirely community-driven effort, so all contributions are warmly welcomed. The easiest way to help with development is to write high-quality <b>bug reports</b> for any issues you run into. For a quick guide on what a useful report should contain, please see <a href="/Reporting_LDC_issues" title="Reporting LDC issues">Reporting LDC issues</a>.
</p><p>If you are interested in getting into compiler development, anecdotal evidence suggests that hacking on LDC might be a nice first step, particularly because the LLVM backend is very comfortable to work with. To get started, just browse through the issue list, find a ticket that tickles your fancy (some of them are specifically marked as "junior jobs"), and work on a fix – and of course don't hesitate to ask for advice at the mailing list or on IRC. An <b><a href="/LDC_contributor%27s_guide" title="LDC contributor&#39;s guide">LDC contributor's guide</a></b> is in the works. Have a look at <a href="/LDC_project_ideas" title="LDC project ideas">LDC project ideas</a> for a list of features/improvements to add to LDC.
</p><p>We would also be excited to see LDC <b>packages</b> in more OS distributions, particular Debian and its derivatives. So, if you think you might be able to help, please just drop us a line at the development mailing list. We will actively try to make packaging as smooth as possible, but besides the fact that upstream-maintained packages are sometimes discouraged, it is hard to build good packages for a system you don't know well, so we need to rely on external contributors here.
</p>
<h2><span class="mw-headline" id="Presentations">Presentations</span></h2>
<p>LDC is an active project and the team promotes the use of D and LDC.
</p>
<ul><li>David's <a rel="nofollow" class="external text" href="http://dconf.org/2013/talks/nadlinger.html">talk about LDC</a> at <a rel="nofollow" class="external text" href="http://dconf.org/2013/index.html">DConf 2013</a>: <a rel="nofollow" class="external text" href="http://dconf.org/2013/talks/nadlinger.pdf">Slides</a> <a rel="nofollow" class="external text" href="http://archive.org/details/dconf2013-day03-talk04">Video HD</a> <a rel="nofollow" class="external text" href="http://youtube.com/watch?v=ntdKZWSiJdY">Video SD</a></li>
<li>Kai's <a rel="nofollow" class="external text" href="https://archive.fosdem.org/2014/schedule/event/ldccompiler/">talk about LDC</a> in the <a rel="nofollow" class="external text" href="https://archive.fosdem.org/2014/schedule/track/llvm/">LLVM devroom</a> at <a rel="nofollow" class="external text" href="https://archive.fosdem.org/2014/">FOSDEM'14</a>: <a rel="nofollow" class="external text" href="https://archive.fosdem.org/2014/schedule/event/ldccompiler/attachments/slides/365/export/events/attachments/ldccompiler/slides/365/FOSDEM_2014.pptx">Slides (PPTX)</a> <a rel="nofollow" class="external text" href="https://archive.fosdem.org/2014/schedule/event/ldccompiler/attachments/slides/366/export/events/attachments/ldccompiler/slides/366/FOSDEM_2014.pdf">Slides (PDF)</a> <a rel="nofollow" class="external text" href="http://video.fosdem.org/2014/K4401/Sunday/LDC_the_LLVMbased_D_compiler.webm">Video</a></li>
<li>Kai's <a rel="nofollow" class="external text" href="https://archive.fosdem.org/2015/schedule/event/llvm_internal_asm/">talk about the LLVM assembler</a> in the <a rel="nofollow" class="external text" href="https://archive.fosdem.org/2015/schedule/track/llvm_toolchain/">LLVM toolchain devroom</a> at <a rel="nofollow" class="external text" href="https://archive.fosdem.org/2015/">FOSDEM'15</a>: <a rel="nofollow" class="external text" href="https://archive.fosdem.org/2015/schedule/event/llvm_internal_asm/attachments/slides/711/export/events/attachments/llvm_internal_asm/slides/711/Nacke_Extending_Assembler.pdf">Slides</a> <a rel="nofollow" class="external text" href="http://video.fosdem.org/2015/devroom-llvm_toolchain/internal_asm__CAM_ONLY_PARTIAL_AUDIO.mp4">Video</a></li>
<li>David's <a rel="nofollow" class="external text" href="http://dconf.org/2015/talks/nadlinger.html">talk about DRuntime</a> at <a rel="nofollow" class="external text" href="http://dconf.org/2015/index.html">DConf 2015</a>: <a rel="nofollow" class="external text" href="http://dconf.org/2015/talks/nadlinger.pdf">Slides</a> <a rel="nofollow" class="external text" href="http://dconf.org/2015/talks/nadlinger.html">Video HD</a> <a rel="nofollow" class="external text" href="https://www.youtube.com/watch?v=rmRmfoKxMCE">Video SD</a></li>
<li>Johan's <a rel="nofollow" class="external text" href="http://dconf.org/2017/talks/engelen.html">talk about LDC's optimized assembly output</a> at <a rel="nofollow" class="external text" href="http://dconf.org/2017/index.html">DConf 2017</a>: <a rel="nofollow" class="external text" href="http://dconf.org/2017/talks/engelen.pdf">Slides</a> <a rel="nofollow" class="external text" href="https://www.youtube.com/watch?v=IZY67TBZ0V4">Video</a></li>
<li>Johan's <a rel="nofollow" class="external text" href="http://dconf.org/2018/talks/engelen.html">talk about LDC's LLVM-backed goodies: PGO, fuzzing, and Address Sanitizer</a> at <a rel="nofollow" class="external text" href="http://dconf.org/2018/index.html">DConf 2018</a>: <a rel="nofollow" class="external text" href="http://dconf.org/2018/talks/engelen.pdf">Slides</a> <a rel="nofollow" class="external text" href="https://www.youtube.com/watch?v=GMKvYrjaaoU">Video</a></li></ul>
<h2><span class="mw-headline" id="Useful_Links">Useful Links</span></h2>
<ul><li><a rel="nofollow" class="external text" href="https://github.com/ldc-developers/ldc/issues">Issue tracker (GitHub)</a></li>
<li><a rel="nofollow" class="external text" href="https://github.com/ldc-developers/ldc">Source code (GitHub)</a></li>
<li><a rel="nofollow" class="external text" href="https://forum.dlang.org/group/ldc">LDC discussion forum</a> (also available via NNTP and a mailing list interface, see the forum index)</li>
<li><a rel="nofollow" class="external text" href="https://gitter.im/ldc-developers/main">Gitter chat room</a></li>
<li><a rel="nofollow" class="external text" href="irc://irc.freenode.net/ldc">LDC IRC channel</a> (#ldc on <a rel="nofollow" class="external text" href="http://freenode.net">Freenode</a>)</li></ul>
<!--
NewPP limit report
Cached time: 20261025164652
Cache expiry: 86400
Dynamic content: false
[SMW] In‐text annotation parser time: 0 seconds
CPU time usage: 0.019 seconds
Real time usage: 0.020 seconds
Preprocessor visited node count: 32/1000000
Preprocessor generated node count: 46/1000000
Post‐expand include size: 244/2097152 bytes
Template argument size: 0/2097152 bytes
Highest expansion depth: 2/40
Expensive parser function count: 0/100
Unstrip recursion depth: 0/20
Unstrip post‐expand size: 0/5000000 bytes
-->
<!--
Transclusion expansion time report (%,ms,calls,template)
100.00% 0.997 1 Compilers_Widget
100.00% 0.997 1 -total
-->
</div>
<!-- Saved in parser cache with key dwiki:pcache:idhash:21-0!canonical and timestamp 20261025164652 and revision id 10298
-->
</div> <div class="printfooter">
Retrieved from "<a dir="ltr" href="https://wiki.dlang.org/?title=LDC&amp;oldid=10298">https://wiki.dlang.org/?title=LDC&amp;oldid=10298</a>" </div>
<div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/Special:Categories" title="Special:Categories">Category</a>: <ul><li><a href="/Category:LDC" title="Category:LDC">LDC</a></li></ul></div></div> <div class="visualClear"></div>
</div>
</div>
<div id="mw-navigation">
<h2>Navigation menu</h2>
<div id="mw-head">
<div id="p-personal" role="navigation" class="" aria-labelledby="p-personal-label">
<h3 id="p-personal-label">Personal tools</h3>
<ul>
<li id="pt-createaccount"><a href="/?title=Special:CreateAccount&amp;returnto=LDC" title="You are encouraged to create an account and log in; however, it is not mandatory">Create account</a></li><li id="pt-login"><a href="/?title=Special:UserLogin&amp;returnto=LDC" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o">Log in</a></li> </ul>
</div>
<div id="left-navigation">
<div id="p-namespaces" role="navigation" class="vectorTabs" aria-labelledby="p-namespaces-label">
<h3 id="p-namespaces-label">Namespaces</h3>
<ul>
<li id="ca-nstab-main" class="selected"><span><a href="/LDC" title="View the content page [c]" accesskey="c">Page</a></span></li><li id="ca-talk"><span><a href="/Talk:LDC" rel="discussion" title="Discussion about the content page [t]" accesskey="t">Discussion</a></span></li> </ul>
</div>
<div id="p-variants" role="navigation" class="vectorMenu emptyPortlet" aria-labelledby="p-variants-label">
<input type="checkbox" class="vectorMenuCheckbox" aria-labelledby="p-variants-label" />
<h3 id="p-variants-label">
<span>Variants</span>
</h3>
<div class="menu">
<ul>
</ul>
</div>
</div>
</div>
<div id="right-navigation">
<div id="p-views" role="navigation" class="vectorTabs" aria-labelledby="p-views-label">
<h3 id="p-views-label">Views</h3>
<ul>
<li id="ca-view" class="collapsible selected"><span><a href="/LDC">Read</a></span></li><li id="ca-viewsource" class="collapsible"><span><a href="/?title=LDC&amp;action=edit" title="This page is protected.&#10;You can view its source [e]" accesskey="e">View source</a></span></li><li id="ca-history" class="collapsible"><span><a href="/?title=LDC&amp;action=history" title="Past revisions of this page [h]" accesskey="h">View history</a></span></li> </ul>
</div>
<div id="p-cactions" role="navigation" class="vectorMenu emptyPortlet" aria-labelledby="p-cactions-label">
<input type="checkbox" class="vectorMenuCheckbox" aria-labelledby="p-cactions-label" />
<h3 id="p-cactions-label"><span>More</span></h3>
<div class="menu">
<ul>
</ul>
</div>
</div>
<div id="p-search" role="search">
<h3>
<label for="searchInput">Search</label>
</h3>
<form action="/" id="searchform">
<div id="simpleSearch">
<input type="search" name="search" placeholder="Search D Wiki" title="Search D Wiki [f]" accesskey="f" id="searchInput"/><input type="hidden" value="Special:Search" name="title"/><input type="submit" name="fulltext" value="Search" title="Search the pages for this text" id="mw-searchButton" class="searchButton mw-fallbackSearchButton"/><input type="submit" name="go" value="Go" title="Go to a page with this exact name if it exists" id="searchButton" class="searchButton"/> </div>
</form>
</div>
</div>
</div>
<div id="mw-panel">
<div id="p-logo" role="banner"><a class="mw-wiki-logo" href="/The_D_Programming_Language" title="Visit the main page"></a></div>
<div class="portal" role="navigation" id="p-navigation" aria-labelledby="p-navigation-label">
<h3 id="p-navigation-label">Navigation</h3>
<div class="body">
<ul>
<li id="n-mainpage-description"><a href="/The_D_Programming_Language" title="Visit the main page [z]" accesskey="z">Main page</a></li><li id="n-portal"><a href="/DWiki:Community_portal" title="About the project, what you can do, where to find things">Community portal</a></li><li id="n-currentevents"><a href="/DWiki:Current_events" title="Find background information on current events">Current events</a></li><li id="n-recentchanges"><a href="/Special:RecentChanges" title="A list of recent changes in the wiki [r]" accesskey="r">Recent changes</a></li><li id="n-randompage"><a href="/Special:Random" title="Load a random page [x]" accesskey="x">Random page</a></li><li id="n-help"><a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents" title="The place to find out">Help</a></li><li id="n-D-home"><a href="http://dlang.org" rel="nofollow">D home</a></li> </ul>
</div>
</div>
<div class="portal" role="navigation" id="p-tb" aria-labelledby="p-tb-label">
<h3 id="p-tb-label">Tools</h3>
<div class="body">
<ul>
<li id="t-whatlinkshere"><a href="/Special:WhatLinksHere/LDC" title="A list of all wiki pages that link here [j]" accesskey="j">What links here</a></li><li id="t-recentchangeslinked"><a href="/Special:RecentChangesLinked/LDC" rel="nofollow" title="Recent changes in pages linked from this page [k]" accesskey="k">Related changes</a></li><li id="t-specialpages"><a href="/Special:SpecialPages" title="A list of all special pages [q]" accesskey="q">Special pages</a></li><li id="t-print"><a href="/?title=LDC&amp;printable=yes" rel="alternate" title="Printable version of this page [p]" accesskey="p">Printable version</a></li><li id="t-permalink"><a href="/?title=LDC&amp;oldid=10298" title="Permanent link to this revision of the page">Permanent link</a></li><li id="t-info"><a href="/?title=LDC&amp;action=info" title="More information about this page">Page information</a></li><li id="t-smwbrowselink"><a href="/Special:Browse/:LDC" rel="search">Browse properties</a></li> </ul>
</div>
</div>
</div>
</div>
<div id="footer" role="contentinfo">
<ul id="footer-info">
<li id="footer-info-lastmod"> This page was last edited on 28 January 2025, at 22:45.</li>
<li id="footer-info-copyright">Content is available under <a class="external" rel="nofollow" href="http://www.gnu.org/copyleft/fdl.html">GNU Free Documentation License 1.3 or later</a> unless otherwise noted.</li>
</ul>
<ul id="footer-places">
<li id="footer-places-privacy"><a href="/DWiki:Privacy_policy" title="DWiki:Privacy policy">Privacy policy</a></li>
<li id="footer-places-about"><a href="/DWiki:About" title="DWiki:About">About D Wiki</a></li>
<li id="footer-places-disclaimer"><a href="/DWiki:General_disclaimer" title="DWiki:General disclaimer">Disclaimers</a></li>
</ul>
<ul id="footer-icons" class="noprint">
<li id="footer-copyrightico">
<a href="http://www.gnu.org/copyleft/fdl.html"><img src="/resources/assets/licenses/gnu-fdl.png" alt="GNU Free Documentation License 1.3 or later" width="88" height="31"/></a> </li>
<li id="footer-poweredbyico">
<a href="//www.mediawiki.org/"><img src="/resources/assets/poweredby_mediawiki_88x31.png" alt="Powered by MediaWiki" srcset="/resources/assets/poweredby_mediawiki_132x47.png 1.5x, /resources/assets/poweredby_mediawiki_176x62.png 2x" width="88" height="31"/></a><a href="https://www.semantic-mediawiki.org/wiki/Semantic_MediaWiki"><img src="/extensions/SemanticMediaWiki/includes/../res/images/smw_button.png" alt="Powered by Semantic MediaWiki" width="88" height="31"/></a> </li>
</ul>
<div style="clear: both;"></div>
</div>
<script>(window.RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgPageParseReport":{"smw":{"limitreport-intext-parsertime":0},"limitreport":{"cputime":"0.019","walltime":"0.020","ppvisitednodes":{"value":32,"limit":1000000},"ppgeneratednodes":{"value":46,"limit":1000000},"postexpandincludesize":{"value":244,"limit":2097152},"templateargumentsize":{"value":0,"limit":2097152},"expansiondepth":{"value":2,"limit":40},"expensivefunctioncount":{"value":0,"limit":100},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":0,"limit":5000000},"timingprofile":["100.00% 0.997 1 Compilers_Widget","100.00% 0.997 1 -total"]},"cachereport":{"timestamp":"20261025164652","ttl":86400,"transientcontent":false}}});});</script><script>(window.RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgBackendResponseTime":527});});</script>
</body>
</html>