Jump to ratings and reviews
Rate this book

Hands-On Functional Programming in Rust: Build modular and reactive applications with functional programming techniques in Rust 2018

Rate this book

Explore the support Rust offers for creating Functional Applications in Rust, learn about various design patterns, implementing concurrency, metaprogramming etc. in the process.

Key Features Learn current state-of-the-art Functional techniques in Rust. 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 applied to build software in a functional way.

We begin with a brief comparison of functional and object-oriented approach to different problems and patterns. We then quickly look at 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 we understand closures, the various types of closures and currying. We also look at implementing concurrency through functional design principles and metaprogramming using macros. Before wrapping up 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 Support offered by Rust for the use of basic Functional Programming principles. Use Functional Programming to handle concurrency with safety and elegance.  Read and interpret complex type signatures for types and functions. Implement powerful abstractions using meta programming in Rust. Create quality code formulaically using functional design patterns of Rust. Familiarize with Rust’s complex ownership mechanisms, particularly in regards to mutability. Who This Book Is For

The reader should be fairly proficient in Rust already, showing an ability to read and understand Rust code. The reader has an interest in further improving their coding abilities in Rust. “Functional Programming in RUST” will now inform these readers of slightly more advanced techniques to improve their skillset.

About the Author

Andrew Johnson is an avid supporter of all things functional. Rust is currently his favorite language and he will not hesitate to lecture anyone about its benefits. Andrew is also interested in compiler design, with a focus on making languages simultaneously more efficient to run, but also easier to program.

350 pages, Paperback

Published May 31, 2018

14 people are currently reading
22 people want to read

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
1 (10%)
4 stars
0 (0%)
3 stars
2 (20%)
2 stars
4 (40%)
1 star
3 (30%)
Displaying 1 of 1 review
Profile Image for Maximiliano Curia.
42 reviews1 follower
January 28, 2023
I should know better. packtpub seems to be working more like a printer than as an editorial, so, no proofread, no technical experts work on top of the draft text.
This book, as draft might work, but it really needs a lot of extra work to make it, well, actually be close to the title.
Displaying 1 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.