- Hands-On Reactive Programming with Clojure
- Konrad Szydlo Leonardo Borges
- 218字
- 2021-07-02 14:04:00
Summary
By now, I hope I have proved to you that you can write reactive applications using core.async. It's an extremely powerful and flexible concurrency model with a rich API. If you can design your solution in terms of queues, it is more than likely that core.async is the tool you want to reach for.
This version of the stock market application is shorter and simpler than the version that uses only the standard Java API we developed earlier in this book in Chapter 3, Asynchronous Programming and Networking. For instance, we didn't have to worry about thread pools. On the other hand, it feels like it is a little more complex than the version we implemented using Reactive Extensions in Chapter 3, Asynchronous Programming and Networking.
This is because core.async operates at a lower level of abstraction when compared to other frameworks. This became especially obvious in our application, as we had to worry about creating broadcasting channels, go loops, and so on—all of which can be considered incidental complexity, and not directly related to the problem at hand.
core.async does, however, provide an excellent foundation for building our own CES abstractions. This is what we will be exploring in the next chapter, when we create our own framework using core.async as a foundation.
- 腫瘤免疫治療嚴重不良反應(yīng)案例分析
- 中國神經(jīng)介入發(fā)展史
- 醫(yī)院醫(yī)療質(zhì)量標準化管理手冊
- 眼表活體共聚焦顯微鏡圖譜
- 牛津通識讀本:自閉癥(中文版)
- Practical PowerShell Security and Compliance Center
- 口腔微距攝影速成
- 活血化瘀方藥臨床使用指南
- 佛山市順德區(qū)自閉癥兒童情況調(diào)研課題
- 顱腦7.0T磁共振成像診斷學(xué)
- 失眠的心理學(xué)干預(yù)
- 急性中毒與解救
- 健康大百科:內(nèi)分泌代謝疾病防治篇
- 連續(xù)性腎臟替代治療
- MEEK微型皮片移植技術(shù)的臨床轉(zhuǎn)化與探索