- Learning Concurrency in Kotlin
- Miguel Angel Castiblanco Torres
- 161字
- 2021-08-05 10:46:43
Why concurrency is often feared
Writing correct concurrent code is traditionally considered difficult. This is not only because of it being difficult, but also because many programming languages make it more difficult than it should be. Some languages make it too cumbersome, while others make it inflexible, reducing its usability. With that in mind, the Kotlin team tried to make concurrency as simple as possible while still making it flexible enough so that it can be adjusted to many different use cases. Later in the book, we will cover many of those use cases and will use many of the primitives that the Kotlin team has created, but for now let's take a look at common challenges presented when programming concurrent code.
As you can probably guess by now, most of the time it comes down to being able to synchronize and communicate our concurrent code so that changes in the flow of execution don't affect the operation of our application.
- Learning Real-time Processing with Spark Streaming
- 軟件架構設計:大型網站技術架構與業務架構融合之道
- AWS Serverless架構:使用AWS從傳統部署方式向Serverless架構遷移
- R語言游戲數據分析與挖掘
- Quarkus實踐指南:構建新一代的Kubernetes原生Java微服務
- Visual Basic程序設計實踐教程
- C語言程序設計教程
- 計算機應用基礎實踐教程
- Python程序設計與算法基礎教程(第2版)(微課版)
- JavaScript腳本特效編程給力起飛
- Mastering ArcGIS Server Development with JavaScript
- 讓Python遇上Office:從編程入門到自動化辦公實踐
- Three.js Essentials
- 接口自動化測試持續集成:Postman+Newman+Git+Jenkins+釘釘
- Learning Network Programming with Java