Difference between revisions of "Cookbook"
(→One-line Code Recipes) |
|||
(50 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | < | + | <!--------><table cellspacing="20" width="100%"><tr><td style="vertical-align: top; width: 50%;"> |
− | The Cookbook is a community-created collection of practical examples, guides and advice for accomplishing common tasks in D. | + | <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%;"> | ||
+ | |||
+ | '''Can't find the guide or recipe you're looking for?'''<br/> | ||
+ | Add a [[Cookbook_Requests|Cookbook Request »]] | ||
+ | |||
+ | <!--------></td></tr></table> | ||
+ | |||
− | + | <div style="background: #eee; padding: 0.5ex 0.5em;"> | |
+ | == Guides == | ||
+ | <!--=======================--> | ||
</div> | </div> | ||
+ | <!--------><table cellspacing="10" width="100%"><tr><td style="vertical-align: top; width: 50%;"> | ||
− | = | + | ==== 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 20: | Line 28: | ||
− | = Recipes | + | <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]] | ||
− | == | + | ==== Math ==== |
− | * [[ | + | * [[Custom data type with overloaded operators]] |
− | == | + | ==== Meta Programming ==== |
− | + | {{#ask: [[Cookbook/Type::Recipe]] [[Category:Meta Programming]] | |
+ | | ?Cookbook/Status= | ||
+ | | ?Level= | ||
+ | | format=ul | ||
+ | | sep=; | ||
+ | }} | ||
<!--------></td><td style="vertical-align: top; width: 50%;"> | <!--------></td><td style="vertical-align: top; width: 50%;"> | ||
− | == Parsing == | + | |
+ | ==== Parsing ==== | ||
* [[Parse a JSON file, make some changes, and save it again]] | * [[Parse a JSON file, make some changes, and save it again]] | ||
− | == Strings and Text == | + | ==== Strings and Text ==== |
− | * [[ | + | {{#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> | ||
+ | ==== 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? |
Guides
Compiler |
Data Handling |
Recipes
One-line Code Recipes
Building
MathMeta Programming
|
ParsingStrings and Text
ARM Cortex-M Programming |