GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing dlang.org — Articles - D Programming Language Articles
Report a bug
If you spot a problem with this page, click here to create a GitHub issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
a local clone.
ArticlesMore articles can be found on the corresponding wiki page. FAQFrequently answered questions about D. const(FAQ)Frequently answered questions about D's const and immutable. Floating PointDon Clugston goes into detail about floating point numbers in D and the pitfalls one may encounter. WarningsThis is about compiler warnings in general, and dmd's warnings in particular. RationaleQuestions about the reasons for various design decisions for D often come up. This addresses many of them. Builtin RationaleD offers several capabilities built in to the core language that are implemented as libraries in other languages. This article answers why. C to DComing from C? Here are various examples comparing the D way to the C way. C++ to DComing from C++? Here are various examples comparing the D way to the C++ way. C Preprocessor vs DD doesn't have a preprocessor. This article shows how to do in D what would be a task for the preprocessor in C. Code coverage analysisD compilers come with a builtin code coverage analyzer. This article explains why and how to use it. Exception SafetyThis article is about exceptions and how RAII and scope guard statements relate to them. HijackingFunction hijacking is when old code accidentally calls a newly added or changed function because it shadows the intended one. This article is about how D prevents different kinds of hijacking. Introduction to std.datetimeJonathan M Davis presents std.datetime which was added in version 2.052 (Jul 10, 2011), and compares it to the superseded std.date. Lazy EvaluationWalter Bright goes into the details of lazy parameters in D. Migrating to SharedSince version 2.030 (May 11, 2009) D uses thread local storage (TLS) by default for static and global variables. The article shows the alternatives to TLS that are available in D. String MixinsA short article about D's mixin statement which allows to insert arbitrary code from a string, and how it compares to the C preprocessor. Regular ExpressionsDmitry Olshansky shows how to use regular expressions in D with std.regex. SafeDBartosz Milewski writes about SafeD, the memory-safe subset of D. Templates RevisitedWalter Bright writes about how D improves upon C++ templates. Template ConstraintsA template can be constrained to only apply when a compile-time evaluable boolean expression is true. Compile-time SequencesA compile-time sequence is a sequence of compile-time entities - types, symbols (names) and values. This article shows how to work with them. Variadic TemplatesThis article is about the D idiom of implementing variadic functions with variadic templates. Template ComparisonA comparison between D's and C++'s templates. D SlicesSteven Schveighoffer writes about slices and dynamic arrays in D. Unfortunately, this article uses slightly different terminology than the language reference: What the article calls a slice is a dynamic array in the language reference, and what the article calls a dynamic array is not named specifically by the language reference. Still, the article is a great help in getting a good understanding of D's array semantics. D's Contract Programming vs C++'sA comparison between D's and C++'s contract programming. Writing Shared Libraries on LinuxA guide to writing shared libraries with D on Linux. Coralling Wild Pointers with ref return scopeHow to use the ref, return and scope annotations to prevent the escape of pointers. Escaping pointers can cause memory corruption and other problems. Creating Windows DLLsWindows DLLs are quite different from shared libraries on other platforms. This article shows how to do them. Copyright © 1999-2026 by the D Language Foundation | Page generated by
Ddoc on Mon Nov 9 05:59:20 2026
|
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |