Delphi Event-based and Asynchronous Programming

Prasnikar, Neven, Jr., Prasnikar, Dalija

  • 出版商: Independently Published
  • 出版日期: 2021-02-07
  • 售價: $1,600
  • 貴賓價: 9.5$1,520
  • 語言: 英文
  • 頁數: 292
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 9798705971688
  • ISBN-13: 9798705971688
  • 相關分類: 系統開發
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Event-based programming is everywhere. Nowadays, you can hardly write any kind of application without leaning on events and messages.This simple, yet extremely powerful mechanism is also the cornerstone of asynchronous and multithreaded programming. Without events, we would not know when some task was completed.But, asynchronous and multithreaded programming consists of more than just handling multiple threads, protecting shared resources, and synchronization. It also includes designing and understanding program flow. That design aspect is often forgotten, taken for granted, and solving all the fine-grained nuances of multithreaded programming hogs the spotlight.Without understanding asynchronous flow and the bigger picture it can be hard to properly solve all the other issues, including multithreading. What used to be plain spaghetti code, now becomes temporal spaghetti.You can lose control over your objects, have bits of code creating and releasing them all over the place, even without adding multithreading into the mix. Memory leaks, crashes, and holding references to dead data long after its destruction are perfectly possible even in a singlethreaded environment.While the starting point of this book is giving a proper introduction to event-based and asynchronous programming flow and design, it also provides the necessary implementation details, explanations and code examples needed to put those designs into practice.