Produktbild: Beginning Rust Programming

Beginning Rust Programming

46,99 €

inkl. gesetzl. MwSt., Versandkostenfrei


Beschreibung

Produktdetails

Einband

Taschenbuch

Erscheinungsdatum

09.03.2021

Verlag

John Wiley & Sons Inc

Seitenzahl

416

Maße (L/B/H)

23,1/18,5/2,2 cm

Gewicht

682 g

Auflage

1. Auflage

Sprache

Englisch

ISBN

978-1-119-71297-8

Beschreibung

Produktdetails

Einband

Taschenbuch

Erscheinungsdatum

09.03.2021

Verlag

John Wiley & Sons Inc

Seitenzahl

416

Maße (L/B/H)

23,1/18,5/2,2 cm

Gewicht

682 g

Auflage

1. Auflage

Sprache

Englisch

ISBN

978-1-119-71297-8

Herstelleradresse

Libri GmbH
Europaallee 1
36244 Bad Hersfeld
DE

Email: gpsr@libri.de

Noch keine Bewertungen vorhanden

Verfassen Sie die erste Bewertung zu diesem Artikel

Helfen Sie anderen Kundinnen und Kunden durch Ihre Meinung.

Kundinnen und Kunden meinen

Bewertungen (0)

Die Leseprobe wird geladen.
  • Produktbild: Beginning Rust Programming
  • Introduction xix
     
    Chapter 1: Game of Life: The Basics 1
     
    Game of Life: The Program 2
     
    Starting with Cargo 4
     
    Putting the Pieces Together 5
     
    Bringing In External Functionality 5
     
    Namespaces 6
     
    Generating the Game Grid 7
     
    Dissecting Main 8
     
    Defining Functions 8
     
    Defining Variables 9
     
    Datatypes 11
     
    Arrays 12
     
    Control Structures 14
     
    Looking at More Function Functions 16
     
    Returning Values 16
     
    Passing Parameters 18
     
    Scope 21
     
    Compiling Programs 22
     
    Summary 24
     
    Exercises 25
     
    Additional Resources 25
     
    Chapter 2: Extended Life 27
     
    Understanding Ownership 28
     
    Extending Life 30
     
    Adding Modules 32
     
    Working with Command-Line Arguments 34
     
    Option Types 36
     
    Reading from Files 39
     
    Extracting Values 41
     
    Populating from the Vector 42
     
    Outputting to the Terminal 43
     
    Using Colors 44
     
    Printing Generations 44
     
    Summary 46
     
    Exercises 48
     
    Additional Resources 48
     
    Chapter 3: Building A Library 49
     
    References 50
     
    First Pass 53
     
    Traits and Implementations 56
     
    Self-Identification 60
     
    The Rest 60
     
    Second Pass 62
     
    The Driver 65
     
    Summary 67
     
    Exercises 69
     
    Additional Resources 69
     
    Chapter 4: Hangman 71
     
    Our Data 74
     
    The Traits 77
     
    Implementations 79
     
    Using the Option Enum 82
     
    Finishing Up the Implementation 83
     
    Reading Files and Selecting Words 84
     
    Handling Errors Concisely 85
     
    Generics and Bounds 87
     
    A Vector of Lines 88
     
    The Rest of the Story 90
     
    Initialization 91
     
    Playing the Game 92
     
    Summary 94
     
    Exercises 95
     
    Additional Resources 95
     
    Chapter 5: In Concurrence 97
     
    The Dining Philosophers 98
     
    Mutexes and Semaphores 101
     
    Interprocess Communications 103
     
    The Main Event 106
     
    Unix Sockets 107
     
    File and Directory Handling 109
     
    Closures 112
     
    Threading in the Main 114
     
    Creating Streams 115
     
    Cryptographic Hashing 116
     
    Creating Threads 117
     
    Summary 118
     
    Exercises 119
     
    Additional Resources 119
     
    Chapter 6: Clients and Servers 121
     
    Planning 123
     
    Network Programming 125
     
    Programming Sockets 128
     
    Rust TCP Server 131
     
    Handling Requests 134
     
    Operating System Calls 137
     
    Summary 139
     
    Exercises 140
     
    Additional Resources 140
     
    Chapter 7: Client-Side Applications 141
     
    Encryption 142
     
    Encryption Algorithms 144
     
    Going Hybrid 145
     
    Encryption Algorithms 147
     
    Transport Layer Security (TLS) 147
     
    TLS Server 151
     
    Remote Access Client 154
     
    Creating the Connection 156
     
    Validating Input 157
     
    Regular Expressions 157
     
    The Final Function 159
     
    Summary 163
     
    Exercises 164
     
    Additional Resources 164
     
    Chapter 8: Going Relational 165
     
    Application Architectures 166
     
    n-Tier Applications 167
     
    Microservices 169
     
    Model-View-Controller 171
     
    Databases 172
     
    Structured Query Language 172
     
    Server or Embedded 175
     
    Accessing Databases 176
     
    Writing a Database Program 177