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

Praseed Pai, Peter Abraham

  • 出版商: Packt Publishing
  • 出版日期: 2018-06-29
  • 售價: $1,600
  • 貴賓價: 9.5$1,520
  • 語言: 英文
  • 頁數: 328
  • 裝訂: Paperback
  • ISBN: 1788629779
  • ISBN-13: 9781788629775
  • 相關分類: C++ 程式語言
  • 立即出貨 (庫存 < 4)

買這商品的人也買了...

相關主題

商品描述

Learn how to implement the reactive programming paradigm with C++ and build asynchronous and concurrent applications

Key Features

  • Efficiently exploit concurrency and parallelism in your programs
  • Use the Functional Reactive programming model to structure programs
  • Understand reactive GUI programming to make your own applications using Qt

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.

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).

What you will learn

  • Understand language-level concurrency in C++
  • Explore advanced C++ programming for the FRP
  • Uncover the RxCpp library and its programming model
  • Mix the FP and OOP constructs in C++ 17 to write well-structured programs
  • Master reactive microservices in C++
  • Create custom operators for RxCpp
  • Learn advanced stream processing and error handling

Who This Book Is For

If you're a C++ developer interested in using reactive programming to build asynchronous and concurrent applications, you'll find this book extremely useful. This book doesn't assume any previous knowledge of reactive programming.

Table of Contents

  1. Reactive Programming Model an Overview and its History
  2. A Breeze tour of the Modern C++ Language and Its key Idioms
  3. The Language level Concurrency and Parallelism in C++
  4. Lock Free and Asynchronous programming in C++
  5. Introduction to Observables
  6. Introduction to Event Stream Programming using C++
  7. An Introduction to data flow computation and the Rxcpp library
  8. Rxcpp the Key Elements
  9. Reactive GUI Programming using Qt/C++
  10. Design Patterns and Idioms for C++ Reactive programming
  11. Reactive Micro services in C++
  12. Advanced Streams and Handling Errors

商品描述(中文翻譯)

學習如何使用C++實現反應式編程範式,並構建異步和並發應用程式

主要特點:
- 高效利用程式中的並發和平行處理
- 使用函數式反應式編程模型來結構化程式
- 了解反應式GUI編程,使用Qt來創建自己的應用程式

書籍描述:
反應式編程是構建高度響應的應用程式的有效方法,並且具有易於維護的程式碼庫。本書涵蓋了基本的函數式反應式概念,將幫助您以更簡單且更少出錯的方式構建高度並發、事件驅動和異步應用程式。

《C++反應式編程》首先討論了不同程式系統早期如何處理事件處理的問題。在簡要介紹現代C++(C++17)之後,將介紹語言層面的並發和無鎖編程模型,為我們進入函數式編程模型做好準備。接下來,將介紹RxCpp及其編程模型。您將深入了解RxCpp庫,該庫促進了反應式編程。您將學習如何使用Qt/C++(用於桌面)和C++微服務(用於Web)來處理反應式編程。

通過閱讀本書,您將熟悉現代C++(C++17)中的高級反應式編程概念。

您將學到:
- 理解C++中的語言層面並發
- 探索FRP的高級C++編程
- 揭示RxCpp庫及其編程模型
- 在C++17中混合使用FP和OOP結構來編寫結構良好的程式
- 掌握C++中的反應式微服務
- 創建RxCpp的自定義運算子
- 學習高級流處理和錯誤處理

本書適合對使用反應式編程構建異步和並發應用程式感興趣的C++開發人員,不需要任何先前的反應式編程知識。

目錄:
1. 反應式編程模型概述及其歷史
2. 現代C++語言的簡要介紹及其關鍵慣用語
3. C++中的語言層面並發和平行處理
4. C++中的無鎖和異步編程
5. Observable的介紹
6. 使用C++進行事件流編程的介紹
7. 數據流計算和Rxcpp庫的介紹
8. Rxcpp的關鍵元素
9. 使用Qt/C++進行反應式GUI編程
10. C++反應式編程的設計模式和慣用語
11. C++中的反應式微服務
12. 高級流處理和錯誤處理