Chapter 2. Phobos – The Standard Library

In this chapter, we will learn how to use the D standard library and explore the language concepts used in the implementation. You will learn the following recipes:

  • Performing type conversions
  • Finding the largest files in a directory
  • Creating a network client and server
  • Using Base64 to create a data URI
  • Generating random numbers
  • Normalizing a string and performing Unicode comparisons
  • Searching with regular expressions
  • Writing a digest utility
  • Using the std.zlib compression
  • Using the std.json module

Introduction

The D standard library, Phobos, provides a variety of modules that do a variety of tasks. This chapter will only cover a portion of its ever-growing capabilities.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.144.56