Muutke küpsiste eelistusi

E-raamat: Beginning Rust Programming

  • Formaat: EPUB+DRM
  • Ilmumisaeg: 17-Feb-2021
  • Kirjastus: John Wiley & Sons Inc
  • Keel: eng
  • ISBN-13: 9781119712879
  • Formaat - EPUB+DRM
  • Hind: 37,04 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Lisa ostukorvi
  • Lisa soovinimekirja
  • See e-raamat on mõeldud ainult isiklikuks kasutamiseks. E-raamatuid ei saa tagastada.
  • Formaat: EPUB+DRM
  • Ilmumisaeg: 17-Feb-2021
  • Kirjastus: John Wiley & Sons Inc
  • Keel: eng
  • ISBN-13: 9781119712879

DRM piirangud

  • Kopeerimine (copy/paste):

    ei ole lubatud

  • Printimine:

    ei ole lubatud

  • Kasutamine:

    Digitaalõiguste kaitse (DRM)
    Kirjastus on väljastanud selle e-raamatu krüpteeritud kujul, mis tähendab, et selle lugemiseks peate installeerima spetsiaalse tarkvara. Samuti peate looma endale  Adobe ID Rohkem infot siin. E-raamatut saab lugeda 1 kasutaja ning alla laadida kuni 6'de seadmesse (kõik autoriseeritud sama Adobe ID-ga).

    Vajalik tarkvara
    Mobiilsetes seadmetes (telefon või tahvelarvuti) lugemiseks peate installeerima selle tasuta rakenduse: PocketBook Reader (iOS / Android)

    PC või Mac seadmes lugemiseks peate installima Adobe Digital Editionsi (Seeon tasuta rakendus spetsiaalselt e-raamatute lugemiseks. Seda ei tohi segamini ajada Adober Reader'iga, mis tõenäoliselt on juba teie arvutisse installeeritud )

    Seda e-raamatut ei saa lugeda Amazon Kindle's. 

This is not your typical programming book! Jump right in with interesting, useful programs, some of which are drawn from classic computer science problems as a way of talking about the programming constructs in the language rather than explaining everything in a dry, theoretical manner that doesn’t translate well to implementation.

Rust programming has been the "most loved programming language" in the Stack Overflow Developer Survey every year since 2016! 

Learn why programmers are using Rust due to it's performance and efficency, without the errors and crashes that a programmer would find in common languages such as C and C++. Built around solving real problems, this book will help introduce you to computer science problems that can be built upon to create solutions for other problems. 

LEARN BY DOING: This book will focus on a practical approach to learing Rust. You will learn all of the language fundamentals through the use of programming examples that do interesting things! All of the programs covered will be based on a computer science problem or othre interesting problems that can be used as a foundation for demonstrating language syntax, data types and structures, and other features or techniques for developing programs. 

Introduction xix
Chapter 1 Game Of Life: The Basics
1(26)
Game of Life: The Program
2(2)
Starting with Cargo
4(1)
Putting the Pieces Together
5(2)
Bringing In External Functionality
5(1)
Namespaces
6(1)
Generating the Game Grid
7(1)
Dissecting Main
8(8)
Defining Functions
8(1)
Defining Variables
9(2)
Datatypes
11(1)
Arrays
12(2)
Control Structures
14(2)
Looking at More Function Functions
16(6)
Returning Values
16(2)
Passing Parameters
18(3)
Scope
21(1)
Compiling Programs
22(2)
Summary
24(1)
Exercises
25(1)
Additional Resources
25(2)
Chapter 2 Extended Life
27(22)
Understanding Ownership
28(2)
Extending Life
30(9)
Adding Modules
32(2)
Working with Command-Line Arguments
34(2)
Option Types
36(3)
Reading from Files
39(4)
Extracting Values
41(1)
Populating from the Vector
42(1)
Outputting to the Terminal
43(3)
Using Colors
44(1)
Printing Generations
44(2)
Summary
46(2)
Exercises
48(1)
Additional Resources
48(1)
Chapter 3 Building A Library
49(22)
References
50(3)
First Pass
53(9)
Traits and Implementations
56(4)
Self-Identification
60(1)
The Rest
60(2)
Second Pass
62(5)
The Driver
65(2)
Summary
67(2)
Exercises
69(1)
Additional Resources
69(2)
Chapter 4 Hangman
71(26)
Our Data
74(10)
The Traits
77(2)
Implementations
79(3)
Using the Option Enum
82(1)
Finishing Up the Implementation
83(1)
Reading Files and Selecting Words
84(6)
Handling Errors Concisely
85(2)
Generics and Bounds
87(1)
A Vector of Lines
88(2)
The Rest of the Story
90(4)
Initialization
91(1)
Playing the Game
92(2)
Summary
94(1)
Exercises
95(1)
Additional Resources
95(2)
Chapter 5 In Concurrence
97(24)
The Dining Philosophers
98(8)
Mutexes and Semaphores
101(2)
Interprocess Communications
103(3)
The Main Event
106(8)
Unix Sockets
107(2)
File and Directory Handling
109(3)
Closures
112(2)
Threading in the Main
114(4)
Creating Streams
115(1)
Cryptographic Hashing
116(1)
Creating Threads
117(1)
Summary
118(1)
Exercises
119(1)
Additional Resources
119(2)
Chapter 6 Clients And Servers
121(20)
Planning
123(2)
Network Programming
125(6)
Programming Sockets
128(3)
Rust TCP Server
131(8)
Handling Requests
134(3)
Operating System Calls
137(2)
Summary
139(1)
Exercises
140(1)
Additional Resources
140(1)
Chapter 7 Client-Side Applications
141(24)
Encryption
142(12)
Encryption Algorithms
144(1)
Going Hybrid
145(2)
Encryption Algorithms
147(1)
Transport Layer Security (TLS)
147(4)
TLS Server
151(3)
Remote Access Client
154(9)
Creating the Connection
156(1)
Validating Input
157(1)
Regular Expressions
157(2)
The Final Function
159(4)
Summary
163(1)
Exercises
164(1)
Additional Resources
164(1)
Chapter 8 Going Relational
165(26)
Application Architectures
166(6)
n-Tier Applications
167(2)
Microservices
169(2)
Model-View-Controller
171(1)
Databases
172(5)
Structured Query Language
172(3)
Server or Embedded
175(1)
Accessing Databases
176(1)
Writing a Database Program
177(12)
Main and Modules
178(5)
Database Functions
183(1)
Adding Records
184(2)
Listing Records
186(3)
Summary
189(1)
Exercises
190(1)
Additional Resources
190(1)
Chapter 9 No(Sql) Going
191(24)
Assertions
192(6)
Design by Contract
195(3)
NoSQL
198(4)
Working with MongoDB
202(11)
Inserting Data
202(4)
Reading in Data from a File
206(1)
Populating the Database
207(2)
Retrieving Values
209(4)
Summary
213(1)
Exercises
214(1)
Additional Resources
214(1)
Chapter 10 Web Communications
215(26)
Style Guides
216(3)
Hypertext Transfer Protocol
219(10)
Programmatic Communication
222(5)
Web Communication Over TLS
227(2)
Client Communication
229(9)
Jumping Ahead
232(5)
Jumping Back
237(1)
Summary
238(1)
Exercises
239(1)
Additional Resources
240(1)
Chapter 11 Web Server
241(24)
Offensive vs. Defensive Programming
242(3)
Web Application Communications
245(10)
Web Application Parameters
245(3)
Asynchronous JavaScript and XML
248(1)
Representational State Transfer
249(1)
APIs in Node.js and Python
250(2)
API Server in Rust
252(3)
Rust Rocket
255(7)
Summary
262(1)
Exercises
262(1)
Additional Resources
263(2)
Chapter 12 Getting To The System
265(26)
Extending Functionality
266(6)
Windows Registry
272(10)
Programmatic Access to the Registry
275(2)
Using Rust to Access the Registry
277(5)
System Information with Rust
282(5)
Persistence (for Fun)
287(2)
Summary
289(1)
Exercises
290(1)
Additional Resources
290(1)
Chapter 13 Device Programming
291(30)
Logging
292(13)
Using syslog
292(7)
Using Windows Event Logs
299(6)
Working with Raspberry Pi
305(13)
Lighting Lights
310(5)
Reading GPIO
315(3)
Summary
318(1)
Exercises
319(1)
Additional Resources
319(2)
Chapter 14 Collecting Stuff
321(26)
Arrays and Vectors
322(7)
Linked Lists
329(11)
Stacks
333(3)
Queues
336(1)
Sorting
337(3)
Search Trees
340(5)
Summary
345(1)
Exercises
346(1)
Additional Resources
346(1)
Chapter 15 Odds And Sods
347(28)
Unit Testing
348(12)
Testing Types
350(1)
Test Plans
351(2)
Unit Tests
353(7)
Recursion
360(4)
Machine Learning
364(7)
Chatbots
366(3)
Neural Networks
369(2)
Summary
371(2)
Exercises
373(1)
Additional Resources
373(2)
Index 375
About the Author

Ric Messier is Senior Information Security Consultant with FireEye Mandiant. He is an author, consultant, and educator who holds GCIH, GSEC, CEH, and CISSP certifications and has published several books on information security and digital forensics. He is familiar with a wide variety of languages, including BASIC, Pascal, C, C++, C#, Rexx, Perl, Python, Java, Go, Swift, and Objective-C.

Visit us at wrox.com for free code samples.