C++ Reactive Programming: Design concurrent and asynchronous applications using the RxCpp library and Modern C++17 - Softcover

Praseed Pai; Peter Abraham

  • 2.50 out of 5 stars
    6 ratings by Goodreads
 
9781788629775: C++ Reactive Programming: Design concurrent and asynchronous applications using the RxCpp library and Modern C++17

Synopsis

Leverage modern C++ programming constructs to write software that can perform and scale well to handle concurrency, parallelism, and asynchrony.

Key Features

  • Write software to exploit concurrency and parallelism in a declarative manner
  • Use the Functional Reactive Programming model to structure the program and add behavior without side effects
  • Judiciously mix FP and OOP constructs supported by the C++ 17 standard to write well-structured programs

Book Description

Reactive programming is an effective way to build highly responsive applications with an easy-to-maintain code base. This book covers the essential functional reactive concepts that will help you build highly-concurrent, event-driven, and asynchronous applications in a simpler and less error-prone way.

This book will begin with a discussion on how event processing has been undertaken by different programming systems. After a breeze introduction to modern C++ (C++ 17), we will move to the language level concurrency and lock-free programming model to set the stage to foray into the Functional Programming model. After you've got all the pre-requisites to foray into the Functional Reactive Programming model, we will introduce RxCpp and its programming model. You will gain deep insight into the RxCpp library that facilitates reactive programming. This will be followed by dealing with Reactive Programming using Qt/C++ (for the desktop) and C++ microservices for the web.

By the end of the book, you will be well-versed with advanced reactive programming concepts in modern C++ (C++17).

What you will learn

  • Understand the language level concurrency in C++
  • Explore the advanced C++ programing for the FRP
  • Write robust and concurrent code
  • Take a deeper look at the RxCpp library and its Programming model
  • Understand the reactive GUI programming using Qt
  • Uncover reactive microservices in C++
  • Create custom operators for RxCpp
  • Learn advanced stream processing and error handling

Who This Book Is For

C++ developers who are interested in using reactive programming to build asynchronous and concurrent applications will find this book extremely useful.

"synopsis" may belong to another edition of this title.

About the Author

Praseed Pai has been working with Software Industry for the last 25 years, starting his career as a MSDOS systems programmer using ANSI C. He has been actively involved in developing large scale cross-platform native code based system using C++ on Windows, GNU Linux, and macOS X. He has got extensive experience in COM+ programing and CORBA programming using the C++ programming language. In the last decade, he has worked with Java and .NET based systems. His areas of interest include Engineering Software Development Enterprise Software development and Native Code Programming. He has worked with Rx.NET, RxJS, and RxCpp from Microsoft. He is the primary implementer of SLANG4.net compilation system, which has been ported to C++ with an LLVM backend. He is the co-author of a book .NET Design Patterns, by Packt. You can know more about him from his LinkedIn profile.

Peter Abraham has been performance "fanatic" and a C/C++ programming language enthusiast right from his college days where he excelled in Microsoft Windows programming and GNU Linux programming. He has got good exposure in working with CUDA, imager processing, and computer graphics programs, by virtue of working with companies such as Quest Global, Siemens, and Tektronics. Peter has been eagerly following the C++ standard and RxCpp libraries as part of his professional work. He has worked with cross-platform GUI toolkits such as Qt, WxWidgets, and Fox toolkit. You can know more about him from his LinkedIn profile.

"About this title" may belong to another edition of this title.