Book Image

C++ Reactive Programming

By : Praseed Pai, Peter Abraham
Book Image

C++ Reactive Programming

By: Praseed Pai, Peter Abraham

Overview of this book

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. C++ Reactive Programming begins with a discussion on how event processing was undertaken by different programming systems earlier. After a brisk introduction to modern C++ (C++17), you’ll be taken through language-level concurrency and the lock-free programming model to set the stage for our foray into the Functional Programming model. Following this, you’ll be introduced to RxCpp and its programming model. You’ll be able to gain deep insights into the RxCpp library, which facilitates reactive programming. You’ll learn how to deal 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).
Table of Contents (20 chapters)
Title Page
Copyright and Credits
Packt Upsell
Contributors
Preface
Index

Contributors

About the authors

Praseed Pai has been working with Software Industry for the last 25 years, starting his career as a MS-DOS systems programmer using ANSI C. He has been actively involved in developing large scale cross-platform system using C++ on Windows, GNU Linux, and macOS. His areas of interest include Engineering Software Development, Enterprise Software Development, and Native Code Programming. He is the co-author of a book .NET Design Patterns, by Packt Publishing.

I would like to acknowledge the contributions of Peter Abraham, Sarath Soman, Vaisakh Babu, Shine Xavier, Aneesh Revi, Benoy Vijayan, Joseph Abraham, and so on, while working on the content of the book. I would like to thank my parents, Mrs. Mohana and Late K.J. Thrivikrama Pai, who taught me the value of continuous learning. I whole heartedly thank my wife Sandhya L, for giving encouragement, while I was writing this book. Last, but not the least, Sidharth and Karthik Pai, my two sons, for co-operating with me, while writing this book. Finally, I thank Sandeep Mishra and Rohit Kumar Singh from Packt Publishing. I also thank Sumant Tambe, who reviewed the content of this book.

 

 

Peter Abraham has been a 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 garnered experience in working with CUDA, image processing, and computer graphics programs by virtue of working with companies such as Quest Global, Siemens, and Tektronix.

Peter has been eagerly following the C++ standard and RxCpp libraries as part of his profession. He has worked with C++ based GUI toolkits such as Qt and MFC.

I would like to start off thanking Praseed Pai for choosing me to co-author this book. In addition, I would like to thank: friends and members of computers science fraternity (Joseph Abraham, Benoy Vijayan, Sarath Soman, Vaishak Babu, Soma Jose, Pranav P.S, Stanly Soby, Gururaj Badiger) for their contributions. My parents (Abraham and Susamma) without whom I would cease to exist. My brothers (Joseph and Sebastian) for their whole-hearted support throughout my life. My patrons (Rev. Fr. Varghese Kalarickal, Reena Peter) for believing in me. Finally, I thank the members of Packt Publishing. I also thank Sumant Tambe, who reviewed the content of this book.

About the reviewer

Sumant Tambe is a software engineer, researcher, open source contributor, blogger, speaker, author, and gamer. He is experienced in using Modern C++, Kafka, data distribution service, reactive programming, and stream processing to solve new problems in big data and industrial IoT.

He has authored C++ Truths blog and the More C++ Idioms wikibook. He shares his learnings on his blog, and at local code camps, meetups, and conferences. He has been a recipient of the Microsoft MVP Award in development technologies for 5 years. He has a PhD in computer science from Vanderbilt University.

Packt is searching for authors like you

If you're interested in becoming an author for Packt, please visit authors.packtpub.com and apply today. We have worked with thousands of developers and tech professionals, just like you, to help them share their insight with the global tech community. You can make a general application, apply for a specific hot topic that we are recruiting an author for, or submit your own idea.