Kategorien
E-Books
-
Wirtschaft
- Bitcoin
- Geschäftsfrau
- Coaching
- Controlling
- E-Business
- Ökonomie
- Finanzen
- Börse und Investitionen
- Persönliche Kompetenzen
- Computer im Büro
- Kommunikation und Verhandlungen
- Kleines Unternehmen
- Marketing
- Motivation
- Multimedia-Training
- Immobilien
- Überzeugung und NLP
- Steuern
- Sozialpolitik
- Handbȕcher
- Präsentationen
- Führung
- Public Relation
- Berichte, Analysen
- Geheimnis
- Social Media
- Verkauf
- Start-up
- Ihre Karriere
- Management
- Projektmanagement
- Personal (HR)
-
Für Kinder
-
Für Jugendliche
-
Bildung
-
Enzyklopädien, Wörterbücher
-
E-Presse
- Architektura i wnętrza
- Biznes i Ekonomia
- Haus und Garten
- E-Business
- Finanzen
- Persönliche Finanzen
- Unternehmen
- Fotografie
- Informatik
- HR und Gehaltsabrechnung
- Computer, Excel
- Buchhaltung
- Kultur und Literatur
- Wissenschaftlich und akademisch
- Umweltschutz
- meinungsbildend
- Bildung
- Steuern
- Reisen
- Psychologie
- Religion
- Landwirtschaft
- Buch- und Pressemarkt
- Transport und Spedition
- Gesundheit und Schönheit
-
Geschichte
-
Informatik
- Office-Programme
- Datenbank
- Bioinformatik
- IT Branche
- CAD/CAM
- Digital Lifestyle
- DTP
- Elektronik
- Digitale Fotografie
- Computergrafik
- Spiele
- Hacking
- Hardware
- IT w ekonomii
- Wissenschaftliche Pakete
- Schulbücher
- Computergrundlagen
- Programmierung
- Mobile-Programmierung
- Internet-Server
- Computernetzwerke
- Start-up
- Betriebssysteme
- Künstliche Inteligenz
- Technik für Kinder
- Webmaster
-
Andere
-
Fremdsprachen lernen
-
Kultur und Kunst
-
Lektüre
-
Literatur
- Anthologien
- Ballade
- Biografien und Autobiografien
- Für Erwachsene
- Drama
- Tagebücher, Memoiren, Briefe
- Epos
- Essay
- Science Fiction
- Felietonys
- Fiktion
- Humor, Satire
- Andere
- Klassisch
- Krimi
- Sachbücher
- Belletristik
- Mity i legendy
- Nobelpreisträger
- Kurzgeschichten
- Gesellschaftlich
- Okultyzm i magia
- Erzählung
- Erinnerungen
- Reisen
- Gedicht
- Poesie
- Politik
- Populärwissenschaftlich
- Roman
- Historischer Roman
- Prosa
- Abenteuer
- Journalismus
- Reportage
- Romans i literatura obyczajowa
- Sensation
- Thriller, Horror
- Interviews und Erinnerungen
-
Naturwissenschaften
-
Sozialwissenschaften
-
Schulbücher
-
Populärwissenschaft und akademisch
- Archäologie
- Bibliotekoznawstwo
- Filmwissenschaft
- Philologie
- Polnische Philologie
- Philosophie
- Finanse i bankowość
- Erdkunde
- Wirtschaft
- Handel. Weltwirtschaft
- Geschichte und Archäologie
- Kunst- und Architekturgeschichte
- Kulturwissenschaft
- Linguistik
- Literaturwissenschaft
- Logistik
- Mathematik
- Medizin
- Geisteswissenschaften
- Pädagogik
- Lehrmittel
- Populärwissenschaftlich
- Andere
- Psychologie
- Soziologie
- Theatrologie
- Teologie
- Theorien und Wirtschaftswissenschaften
- Transport i spedycja
- Sportunterricht
- Zarządzanie i marketing
-
Handbȕcher
-
Spielanleitungen
-
Professioneller und fachkundige Leitfaden
-
Jura
- Sicherheit und Gesundheit am Arbeitsplatz
- Geschichte
- Verkehrsregeln. Führerschein
- Rechtswissenschaften
- Gesundheitswesen
- Allgemeines. Wissenskompendium
- akademische Bücher
- Andere
- Bau- und Wohnungsrecht
- Zivilrecht
- Finanzrecht
- Wirtschaftsrecht
- Wirtschafts- und Handelsrecht
- Strafrecht
- Strafrecht. Kriminelle Taten. Kriminologie
- Internationales Recht
- Internationales und ausländisches Recht
- Gesundheitsschutzgesetz
- Bildungsrecht
- Steuerrecht
- Arbeits- und Sozialversicherungsrecht
- Öffentliches, Verfassungs- und Verwaltungsrecht
- Familien- und Vormundschaftsrecht
- Agrarrecht
- Sozialrecht, Arbeitsrecht
- EU-Recht
- Industrie
- Agrar- und Umweltschutz
- Wörterbücher und Enzyklopädien
- Öffentliche Auftragsvergabe
- Management
-
Führer und Reisen
- Afrika
- Alben
- Südamerika
- Mittel- und Nordamerika
- Australien, Neuseeland, Ozeanien
- Österreich
- Asien
- Balkan
- Naher Osten
- Bulgarien
- China
- Kroatien
- Tschechische Republik
- Dänemark
- Ägypten
- Estland
- Europa
- Frankreich
- Berge
- Griechenland
- Spanien
- Niederlande
- Island
- Litauen
- Lettland
- Mapy, Plany miast, Atlasy
- Miniführer
- Deutschland
- Norwegen
- Aktive Reisen
- Polen
- Portugal
- Andere
- Russland
- Rumänien
- Slowakei
- Slowenien
- Schweiz
- Schweden
- Welt
- Türkei
- Ukraine
- Ungarn
- Großbritannien
- Italien
-
Psychologie
- Lebensphilosophien
- Kompetencje psychospołeczne
- zwischenmenschliche Kommunikation
- Mindfulness
- Allgemeines
- Überzeugung und NLP
- Akademische Psychologie
- Psychologie von Seele und Geist
- Arbeitspsychologie
- Relacje i związki
- Elternschafts- und Kinderpsychologie
- Problemlösung
- Intellektuelle Entwicklung
- Geheimnis
- Sexualität
- Verführung
- Aussehen ind Image
- Lebensphilosophien
-
Religion
-
Sport, Fitness, Diäten
-
Technik und Mechanik
Hörbücher
-
Wirtschaft
- Bitcoin
- Geschäftsfrau
- Coaching
- Controlling
- E-Business
- Ökonomie
- Finanzen
- Börse und Investitionen
- Persönliche Kompetenzen
- Kommunikation und Verhandlungen
- Kleines Unternehmen
- Marketing
- Motivation
- Immobilien
- Überzeugung und NLP
- Steuern
- Handbȕcher
- Präsentationen
- Führung
- Public Relation
- Geheimnis
- Social Media
- Verkauf
- Start-up
- Ihre Karriere
- Management
- Projektmanagement
- Personal (HR)
-
Für Kinder
-
Für Jugendliche
-
Bildung
-
Enzyklopädien, Wörterbücher
-
Geschichte
-
Informatik
-
Andere
-
Fremdsprachen lernen
-
Kultur und Kunst
-
Lektüre
-
Literatur
- Anthologien
- Ballade
- Biografien und Autobiografien
- Für Erwachsene
- Drama
- Tagebücher, Memoiren, Briefe
- Epos
- Essay
- Science Fiction
- Felietonys
- Fiktion
- Humor, Satire
- Andere
- Klassisch
- Krimi
- Sachbücher
- Belletristik
- Mity i legendy
- Nobelpreisträger
- Kurzgeschichten
- Gesellschaftlich
- Okultyzm i magia
- Erzählung
- Erinnerungen
- Reisen
- Poesie
- Politik
- Populärwissenschaftlich
- Roman
- Historischer Roman
- Prosa
- Abenteuer
- Journalismus
- Reportage
- Romans i literatura obyczajowa
- Sensation
- Thriller, Horror
- Interviews und Erinnerungen
-
Naturwissenschaften
-
Sozialwissenschaften
-
Populärwissenschaft und akademisch
- Archäologie
- Philosophie
- Wirtschaft
- Handel. Weltwirtschaft
- Geschichte und Archäologie
- Kunst- und Architekturgeschichte
- Kulturwissenschaft
- Literaturwissenschaft
- Mathematik
- Medizin
- Geisteswissenschaften
- Pädagogik
- Lehrmittel
- Populärwissenschaftlich
- Andere
- Psychologie
- Soziologie
- Teologie
- Zarządzanie i marketing
-
Handbȕcher
-
Professioneller und fachkundige Leitfaden
-
Jura
-
Führer und Reisen
-
Psychologie
- Lebensphilosophien
- zwischenmenschliche Kommunikation
- Mindfulness
- Allgemeines
- Überzeugung und NLP
- Akademische Psychologie
- Psychologie von Seele und Geist
- Arbeitspsychologie
- Relacje i związki
- Elternschafts- und Kinderpsychologie
- Problemlösung
- Intellektuelle Entwicklung
- Geheimnis
- Sexualität
- Verführung
- Aussehen ind Image
- Lebensphilosophien
-
Religion
-
Sport, Fitness, Diäten
-
Technik und Mechanik
Videokurse
-
Datenbank
-
Big Data
-
Biznes, ekonomia i marketing
-
Cybersicherheit
-
Data Science
-
DevOps
-
Für Kinder
-
Elektronik
-
Grafik / Video / CAX
-
Spiele
-
Microsoft Office
-
Entwicklungstools
-
Programmierung
-
Persönliche Entwicklung
-
Computernetzwerke
-
Betriebssysteme
-
Softwaretest
-
Mobile Geräte
-
UX/UI
-
Web development
-
Management
Podcasts
- E-Books
- Informatik
- Programmierung
- D Cookbook. Discover the advantages of programming in D with over 100 incredibly effective recipes with this book and
Details zum E-Book
Einloggen, wenn Sie am Inhalt des Artikels interessiert sind.
D Cookbook. Discover the advantages of programming in D with over 100 incredibly effective recipes with this book and
E-book
- D Cookbook
- Table of Contents
- D Cookbook
- Credits
- Foreword
- About the Author
- About the Reviewers
- www.PacktPub.com
- Support files, eBooks, discount offers, and more
- Why Subscribe?
- Free Access for Packt account holders
- Support files, eBooks, discount offers, and more
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Downloading the example code
- Errata
- Piracy
- Questions
- 1. Core Tasks
- Introduction
- Installing the compiler and writing a "Hello World" program
- How to do it
- How it works
- Theres more
- Adding additional modules (files) to your program
- How to do it
- How it works
- There's more
- See also
- Using external libraries
- How to do it
- How it works
- There's more
- See also
- Building and processing arrays
- How to do it
- How it works
- There's more
- See also
- Using associative arrays to translate input
- How to do it
- How it works
- There's more
- Creating a user-defined vector type
- Getting ready
- How to do it
- How it works
- See also
- Using a custom exception type
- How to do it
- How it works
- There's more
- See also
- Understanding immutability
- Getting ready
- How to do it
- Writing functions
- Writing object methods
- How it works
- Slicing a string to get a substring
- How to do it
- How it works
- There's more
- Creating a tree of classes
- Getting ready
- How to do it
- How it works
- There's more
- See also
- 2. Phobos The Standard Library
- Introduction
- Performing type conversions
- How to do it
- How it works
- There's more
- Finding the largest files in a directory
- How to do it
- How it works
- Creating a network client and server
- How to do it
- Client
- Server
- How it works
- There's more
- See also
- How to do it
- Using Base64 to create a data URI
- How to do it
- How it works
- Generating random numbers
- How to do it
- How it works
- There's more
- Normalizing a string and performing Unicode comparisons
- How to do it
- How it works
- Searching with regular expressions
- How to do it
- How it works
- There's more
- See also
- Writing a digest utility
- How to do it
- How it works
- There's more
- See also
- Using the std.zlib compression
- How to do it
- How it works
- Using the std.json module
- How to do it
- How it works
- See also
- 3. Ranges
- Introduction
- Using ranges when implementing an algorithm
- Getting ready
- How to do it
- How it works
- Creating an input range
- How to do it
- How it works
- There's more
- Creating an output range
- How to do it
- How it works
- There's more
- See also
- Creating a higher-order range
- How to do it
- How it works
- Putting a range interface on a collection
- Getting ready
- How to do it
- How it works
- Creating an input range over a tree structure
- Getting ready
- How to do it
- How it works
- There's more
- Using runtime polymorphic (class) ranges
- How to do it
- How it works
- Storing a range as a data member
- How to do it
- How it works
- Sorting ranges efficiently
- Getting ready
- How to do it
- To sort
- To benchmark
- How it works
- See also
- Searching ranges
- How to do it
- How it works
- Using functional tools to query data
- Getting ready
- How to do it
- How it works
- There's more
- See also
- 4. Integration
- Introduction
- Calling the Windows API functions
- Getting ready
- How to do it
- How it works
- See also
- Removing the Windows console
- How to do it
- How it works
- There's more
- See also
- Making Linux system calls
- How to do it
- With the C interface
- With inline assembly
- How it works
- See also
- How to do it
- Writing part of a C program in D
- Getting ready
- How to do it
- How it works
- See also
- Interfacing with C++
- Getting ready
- How to do it
- How to do it
- See also
- Using structs to mimic the C++ object structure
- How to do it
- How it works
- Communicating with external processes
- How to do it
- How it works
- See also
- Communicating with a dynamic scripting language
- Getting ready
- How to do it
- How it works
- Using Windows' COM
- Getting ready
- How to do it
- COM server
- COM client
- How it works
- There's more
- 5. Resource Management
- Introduction
- Avoiding the garbage collector
- How to do it
- How it works
- Making a reference-counted object
- How to do it
- How it works
- See also
- Manually managing class memory
- How to do it
- How it works
- See also
- Using scope guards to manage transactions
- How to do it
- How it works
- Creating an array replacement
- How to do it
- How it works
- Managing lent resources
- How to do it
- How it works
- Creating a NotNull struct
- How to do it
- How it works
- There's more
- Using unique pointers
- How to do it
- How it works
- Using RAII and handling the limitations of class destructors
- How to do it
- How it works
- 6. Wrapped Types
- Introduction
- Creating a struct with reference semantics
- How to do it
- How it works
- There's more
- Simulating inheritance with structs
- How to do it
- How it works
- Creating a ranged integer
- How to do it
- How it works
- There's more
- Creating an opaque handle type
- How to do it
- How it works
- There's more
- Creating a subtyped string for i18n
- How to do it
- How it works
- Forwarding methods with opDispatch
- How to do it
- How it works
- Creating a tagged dynamic type
- How to do it
- How it works
- There's more
- Creating a structure with two views into the same data
- How to do it
- How it works
- Simulating multiple inheritance with mixin templates
- How to do it
- How it works
- 7. Correctness Checking
- Introduction
- Using assertions and exceptions
- How to do it
- How it works
- See also
- Using static asserts
- How to do it
- How it works
- Using template constraints and static if
- Getting ready
- How to do it
- How it works
- Preventing memory corruption bugs with @safe
- How to do it
- How it works
- See also
- Leveraging const-correctness
- Getting ready
- How to do it
- How it works
- Avoiding side effects of pure functions
- How to do it
- How it works
- Verifying object invariants and pre- and post-conditions
- How to do it
- How it works
- Unit testing your code
- How to do it
- How it works
- See also
- Documenting your code with Ddoc
- How to do it
- How it works
- There's more
- Writing platform-specific code (versions) and per-client configuration modules
- How to do it
- Platform-specific code
- Client-specific code
- How it works
- See also
- How to do it
- 8. Reflection
- Introduction
- Getting dynamic runtime type information
- How to do it
- How it works
- See also
- Getting a list of child classes
- How to do it
- How it works
- Determining whether a module is available
- How to do it
- How it works
- See also
- Getting a list of all methods or fields in a module or an object
- How to do it
- How it works
- There's more
- See also
- Inspecting function overloads
- How to do it
- How it works
- Determining names, types, and default values of function parameters
- How to do it
- How it works
- There's more
- Getting components of complex types
- Getting ready
- How to do it
- How it works
- See also:
- Using user-defined attributes
- How to do it
- How it works
- Implementing a custom lint-style check for virtual functions
- How to do it
- How it works
- Extending the runtime type information
- How to do it
- How it works
- There's more
- Creating a command-line function caller
- How to do it
- How it works
- There's more
- 9. Code Generation
- Introduction
- Creating user-defined literals
- Getting ready
- How to do it
- How it works
- See also
- Parsing a domain-specific language
- How to do it
- How it works
- There's more
- See also
- Generating data structures from text diagrams
- How to do it
- How it works
- See also
- Automating dynamic calls with multiple dispatch
- Getting ready
- How to do it
- How it works
- See also
- Building a lookup table
- How to do it
- How it works
- Using string parameters to change functions
- How to do it
- How it works
- Wrapping instance methods
- How to do it
- How it works
- See also
- Using opDispatch to generate properties
- How to do it
- How it works
- Duck typing to a statically-defined interface
- Getting ready
- How to do it
- How it works
- There's more
- 10. Multitasking
- Introduction
- Using threads
- How to do it
- How it works
- There's more
- See also
- Passing messages with std.concurrency
- How to do it
- How it works
- See also
- Processing parallel data with std.parallelism
- How to do it
- How it works
- See also
- Using fibers
- How to do it
- How it works
- See also
- Creating new processes
- How to do it
- How it works
- There's more
- See also
- Exploring thread-safe, single-locking singletons
- How to do it
- How it works
- See also
- Using asynchronous I/O
- How to do it
- How it works
- See also
- 11. D for Kernel Coding
- Introduction
- Running D on bare metal x86 with a stripped runtime
- Getting ready
- How to do it
- How it works
- There's more
- See also
- Adding interrupt handling to the bare metal x86 code
- Getting ready
- How to do it
- How it works
- 12. Web and GUI Programming
- Introduction
- Creating a dynamic website with cgi.d
- Getting ready
- How to do it
- How it works
- See also
- Creating a web API with web.d
- Getting ready
- How to do it
- How it works
- There's more
- Parsing and modifying an HTML page with dom.d
- Getting ready
- How to do it
- How it works
- There's more
- See also
- Accessing a SQL database
- Getting ready
- How to do it
- How it works
- There's more
- See also
- Sending an e-mail
- Getting ready
- How to do it
- How it works
- There's more
- Writing colored output to the console
- Getting ready
- How to do it
- How it works
- See also
- Getting real-time input from the terminal
- Getting ready
- How to do it
- How it works
- There's more
- See also
- Working with image files
- Getting ready
- How to do it
- How it works
- See also
- Creating a graphics window to show a TV static demo
- Getting ready
- How to do it
- How it works
- See also
- Creating an OpenGL window
- Getting ready
- How to do it
- How it works
- See also
- A. Addendum
- Compiling D for ARM/Linux Raspberry Pi
- Getting ready
- How to do it
- How it works
- There's more
- See also
- Running D on bare metal ARM
- Getting ready
- How to do it
- How it works
- See also
- Using the exponentiation operator
- How to do it
- How it works
- Getting a stack trace without throwing an exception
- How to do it
- How it works
- Finding more information about D
- How to do it
- How it works
- Compiling D for ARM/Linux Raspberry Pi
- Index
- Titel: D Cookbook. Discover the advantages of programming in D with over 100 incredibly effective recipes with this book and
- Autor: Adam Ruppe
- Originaler Titel: D Cookbook. Discover the advantages of programming in D with over 100 incredibly effective recipes with this book and ebook.
- ISBN: 9781783287222, 9781783287222
- Veröffentlichungsdatum: 2014-05-26
- Format: E-book
- Artikelkennung: e_3cp9
- Verleger: Packt Publishing