Difference between revisions of "Cookbook"

From D Wiki
Jump to: navigation, search
(Building)
(50 intermediate revisions by 9 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 +
<!--------><table cellspacing="20" width="100%"><tr><td style="vertical-align: top; width: 50%;">
 +
<span style="font-size: 1.1em; color: #555;">The Cookbook is a community-created collection of practical examples, guides and advice for accomplishing common tasks in D.</span>
  
 +
<!--------></td><td style="vertical-align: top; width: 50%;">
  
= Guides and Advice =
+
'''Can't find the guide or recipe you're looking for?'''<br/>
 +
Add a [[Cookbook_Requests|Cookbook Request &raquo;]]
  
<table cellspacing="20" width="100%">
+
<!--------></td></tr></table>
<tr><td>
 
  
== Compiler ==
 
* [[When and how to upgrade your D compiler]]
 
  
</td><td>
+
<div style="background: #eee; padding: 0.5ex 0.5em;">
 +
== Guides ==
 +
<!--=======================-->
 +
</div>
 +
<!--------><table cellspacing="10" width="100%"><tr><td style="vertical-align: top; width: 50%;">
  
== Data Handling ==
+
==== Compiler ====
 +
* [[Checklist for optimal portability and performance]]
 +
 
 +
<!--------></td><td style="vertical-align: top; width: 50%;">
 +
 
 +
==== Data Handling ====
 
* [[When to use const and immutable]]
 
* [[When to use const and immutable]]
  
</td></tr>
+
<!--------></td></tr></table>
</table>
+
 
 +
 
 +
<div style="background: #eee; padding: 0.5ex 0.5em;">
 +
 
 +
== Recipes ==
 +
<!--=======================-->
 +
</div>
 +
<!--------><table cellspacing="10" width="100%"><tr><td style="vertical-align: top; width: 50%;">
  
 +
=== Building ===
 +
* [[Using C libraries for a D program]]
 +
* [[Minimalistic cross-platform Makefile]]
 +
* [[Minimalistic cross-platform Rakefile]]
  
= Recipes and Examples =
+
==== Math ====
 +
* [[Custom data type with overloaded operators]]
  
<table cellspacing="20" width="100%">
+
==== Meta Programming ====
<tr><td>
+
{{#ask: [[Cookbook/Type::Recipe]]  [[Category:Meta Programming]]
 +
| ?Cookbook/Status=
 +
| ?Level=
 +
| format=ul
 +
| sep=;
 +
}}
  
== Math ==
+
<!--------></td><td style="vertical-align: top; width: 50%;">
* [[Constructing a custom data type with overloaded operators]]
 
  
</td><td>
+
==== Parsing ====
 +
* [[Parse a JSON file, make some changes, and save it again]]
  
== Strings and Text ==
+
==== Strings and Text ====
* [[Converting_strings_between_ASCII_and_Unicode_and_others|Converting strings between ASCII and Unicode and others]]
+
{{#ask: [[Cookbook/Type::Recipe]] [[Category:Strings and Text]]
 +
| ?Level=
 +
| ?D Version=
 +
| format=ul
 +
| sep=,
 +
}}
 +
==== ARM Cortex-M Programming ====
 +
* [[Minimal semihosted ARM Cortex-M %22Hello_World%22]]
 +
* [[Microcontroller_startup_files]]
 +
<!--------></td></tr></table>
  
</td></tr>
+
[[Category:Cookbook]]
</table>
 

Revision as of 14:54, 15 December 2015

The Cookbook is a community-created collection of practical examples, guides and advice for accomplishing common tasks in D.

Can't find the guide or recipe you're looking for?
Add a Cookbook Request »


Guides

Compiler

Data Handling


Recipes

Building

Math

Meta Programming


Parsing

Strings and Text

ARM Cortex-M Programming