Difference between revisions of "Cookbook"

From D Wiki
Jump to: navigation, search
m (Recipes)
(One-line Code Recipes)
 
(17 intermediate revisions by 9 users not shown)
Line 17: Line 17:
 
<!--------><table cellspacing="10" width="100%"><tr><td style="vertical-align: top; width: 50%;">
 
<!--------><table cellspacing="10" width="100%"><tr><td style="vertical-align: top; width: 50%;">
  
=== Compiler ===
+
==== Compiler ====
 
* [[Checklist for optimal portability and performance]]
 
* [[Checklist for optimal portability and performance]]
  
 
<!--------></td><td style="vertical-align: top; width: 50%;">
 
<!--------></td><td style="vertical-align: top; width: 50%;">
  
=== Data Handling ===
+
==== Data Handling ====
 
* [[When to use const and immutable]]
 
* [[When to use const and immutable]]
  
Line 29: Line 29:
  
 
<div style="background: #eee; padding: 0.5ex 0.5em;">
 
<div style="background: #eee; padding: 0.5ex 0.5em;">
 +
 
== Recipes ==
 
== Recipes ==
 
<!--=======================-->
 
<!--=======================-->
Line 35: Line 36:
  
 
=== Building ===
 
=== Building ===
 +
* [[Using C libraries for a D program]]
 
* [[Minimalistic cross-platform Makefile]]
 
* [[Minimalistic cross-platform Makefile]]
 +
* [[Minimalistic cross-platform Rakefile]]
  
 
==== Math ====
 
==== Math ====
Line 47: Line 50:
 
| sep=;
 
| sep=;
 
}}
 
}}
+
 
 
<!--------></td><td style="vertical-align: top; width: 50%;">
 
<!--------></td><td style="vertical-align: top; width: 50%;">
  
Line 60: Line 63:
 
| sep=,
 
| sep=,
 
}}
 
}}
 +
==== ARM Cortex-M Programming ====
 +
* [[Minimal semihosted ARM Cortex-M %22Hello_World%22]]
 +
* [[Microcontroller_startup_files]]
 +
<!--------></td>
  
 +
==== One-line Code Recipes ====
 +
* [[Reading and writing to files]]
 
<!--------></td></tr></table>
 
<!--------></td></tr></table>
 +
 +
[[Category:Cookbook]]

Latest revision as of 22:55, 17 July 2020

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

One-line Code Recipes

Building

Math

Meta Programming


Parsing

Strings and Text

ARM Cortex-M Programming