Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Hands-On Functional Programming in Rust: Build modular and reactive applications with functional programming techniques in Rust 2018


Explore the support Rust offers for creating functional applications in Rust. Learn about various design patterns, implementing concurrency, metaprogramming, and so on in the process

Key Features

  • Learn generics, organization, and design patterns in functional programming
  • Modularize your applications and make them highly reusable and testable using functional design patterns
  • Get familiar with complex concepts such as metaprogramming, concurrency, and immutability

Book Description

Functional programming allows developers to divide programs into smaller, reusable components that ease the creation, testing, and maintenance of software as a whole. Combined with the power of Rust, you can develop robust and scalable applications that fulfill modern day software requirements. This book will help you discover all the Rust features that can be used to build software in a functional way.

We begin with a brief comparison of the functional and object-oriented approach to different problems and patterns. We then quickly look at the patterns of control flow, data the abstractions of these unique to functional programming. The next part covers how to create functional apps in Rust; mutability and ownership, which are exclusive to Rust, are also discussed. Pure functions are examined next and you'll master closures, their various types, and currying. We also look at implementing concurrency through functional design principles and metaprogramming using macros. Finally, we look at best practices for debugging and optimization.

By the end of the book, you will be familiar with the functional approach of programming and will be able to use these techniques on a daily basis.

What you will learn

  • How Rust supports the use of basic functional programming principles
  • Use functional programming to handle concurrency with elegance
  • Read and interpret complex type signatures for types and functions
  • Implement powerful abstractions using meta programming in Rust
  • Create quality code formulaically using Rust's functional design patterns
  • Master Rust's complex ownership mechanisms particularly for mutability

Who This Book Is For

This book is for Rust developers who are comfortable with the language and now want to improve their coding abilities by learning advanced functional techniques to enhance their skillset and create robust and testable apps.

Table of Contents

  1. Functional Programming - a comparison
  2. Functional Control Flow
  3. Functional Data Structures
  4. Generics and Polymorphism
  5. Code Organization and Application Architecture
  6. Mutability, Ownership, and Pure Functions
  7. Design Patterns
  8. Implementing Concurrency
  9. Metaprogramming,Debugging, and Performance
(HTML tags aren't allowed.)

From Hacking to Report Writing: An Introduction to Security and Penetration Testing
From Hacking to Report Writing: An Introduction to Security and Penetration Testing

Learn everything you need to know to become a professional security and penetration tester. It simplifies hands-on security and penetration testing by breaking down each step of the process so that finding vulnerabilities and misconfigurations becomes easy. The book explains how to methodically locate, exploit, and professionally...

Cancer Gene Therapy (Contemporary Cancer Research)
Cancer Gene Therapy (Contemporary Cancer Research)

A complete introduction and guide to the latest developments in cancer gene therapy-from bench to bedside. The authors comprehensively review the anticancer genes and gene delivery methods currently available for cancer gene therapy, including the transfer of genetic material into the cancer cells, stimulation of the immune system to...

Word 2003 All-in-One Desk Reference for Dummies
Word 2003 All-in-One Desk Reference for Dummies
9 books in 1– your key to Word 2003 success!

Your one-stop guide to getting the most from Word 2003 every day!

Writing your own book? Need to mail merge your holiday card list? Want to add a picture to that letter to Grandma? One of these minibooks will tell you how! This trusty guide will be your constant companion as you...

Genetic Algorithms in Java Basics
Genetic Algorithms in Java Basics

Genetic Algorithms in Java Basics is a brief introduction to solving problems using genetic algorithms, with working projects and solutions written in the Java programming language. This brief book will guide you step-by-step through various implementations of genetic algorithms and some of their common applications, with the aim to...

Fundamentals of Economics
Fundamentals of Economics

Based on the comprehensive two-semester text by the same authors, this version of Economics "boils down" the formal economic theories and concepts into their essential parts, emphasizing domestic and international applications and policy issues. Fundamentals of Economics is a concise but thorough survey of economics for instructors...

Malicious Attack Propagation and Source Identification (Advances in Information Security)
Malicious Attack Propagation and Source Identification (Advances in Information Security)

This book covers and makes four major contributions:

1) analyzing and surveying the pros and cons of current approaches for identifying rumor sources on complex networks;

2) proposing a novel approach to identify rumor sources in time-varying networks;

3) developing a fast approach to identify...

©2019 LearnIT (support@pdfchm.net) - Privacy Policy