Book Name: Network Programming with Rust
Author: Abhishek Chanda
Publisher: Packt Publishing
File size: 2.12 MB
File format: PDF
Network Programming with Rust Pdf Book Description:
Rust is low-level sufficient to present fine-grained control over memory whilst providing security through compile-time validation. This makes it uniquely acceptable for composing low-level media programs. Network Programming with Rust publication is broken up into three major elements that can take you on a thrilling journey of creating a fully operational web server. The book begins with a good introduction to Rust and key networking concepts. This will set a foundation for, and also set the tone of, the whole book. In the next part, we’ll have an comprehensive look at utilizing Rust for media applications. The book demonstrates the way to communicate with all REST servers over HTTP. The concluding portion of the publication discusses asynchronous network programming utilizing the Tokio heap. Given that the importance of safety to contemporary systems, you may observe how Rust supports ordinary primitives like TLS and public-key cryptography.
This book is an introduction to writing networking applications in Rust. This title begs two questions: why should anyone care about networking? And why would anyone want to write networking applications in Rust? We attempt to answer the first question in this chapter. We will introduce Rust and network programming using Rust in subsequent chapters. Firstly, in this chapter, we will start with a bit of history and try to understand how network architecture evolved over the last hundred years. In subsequent sections, we will see how modern networks are layered and addressed. Afterwards, we will describe common service models used in networking. We will end with a summary of networking related programming interfaces that Linux exposes. Note that this book deliberately ignores network programming in other operating systems and focuses only on Linux for the sake of simplicity. While the Rust compiler is platform agnostic, there can be cases where some things are different in other platforms compared to Linux. We will point out those differences as we progress.
DMCA Disclaimer: This site complies with DMCA Digital Copyright Laws. Please bear in mind that we do not own copyrights to these books. We’re sharing this material with our audience ONLY for educational purpose. We highly encourage our visitors to purchase original books from the respected publishers. If someone with copyrights wants us to remove this content, please contact us immediately.
All books on the edubookpdf.com are free and NOT HOSTED ON OUR WEBSITE. If you feel that we have violated your copyrights, then please contact us immediately (click here).