xizzhu
  • About
  • Posts
  • Bible
  • 随笔
xizzhu

kotlin


limitedParallelism() doesn't limit concurrency

 Posted on November 10, 2023  |  Xizhi Zhu

In Coroutine 1.6.0, limitedParallelism() was introduced to provide a view of the underlying dispatcher, guaranteeing no more than the specified coroutines can be executed at the same time.

[Read More]
kotlin  coroutine 

Cancelling coroutines is easy, right?

 Posted on May 2, 2023  |  Xizhi Zhu

With a well-designed support for structured concurrency, cancelling should be easy, and calling job.cancel() will do the trick, right?

[Read More]
kotlin  coroutine 

Getting started with Kotlin Multiplaform Mobile (KMM)

 Posted on June 28, 2021  |  Xizhi Zhu

Kotlin Multiplatform Mobile (KMM) is a cross-platform framework to share code for Android and iOS apps.

[Read More]
kmm  kotlin  android  ios 

Model-View-Intent Design Pattern on Android

 Posted on June 21, 2021  |  Xizhi Zhu

Model-View-Intent (MVI) is one of the latest design patterns for Android, which relies heavily on reactive and functional programming.

[Read More]
design patterns  mvi  android  kotlin 

Understanding Generics in Kotlin

 Posted on June 6, 2020  |  Xizhi Zhu

Generics is a powerful tool, but it often seems confusing. In this article, we’ll try to explain how to use it in Kotlin.

[Read More]
kotlin 

Design Patterns in Kotlin: Behavioral Patterns

 Posted on May 2, 2020  |  Xizhi Zhu

Gang of Four’s Behavioral Patterns describe the way of communications between objects.

[Read More]
kotlin  design patterns 

Design Patterns in Kotlin: Structural Patterns

 Posted on April 27, 2020  |  Xizhi Zhu

Gang of Four’s Structural Patterns describe the way of composing classes and objects to form larger structures.

[Read More]
kotlin  design patterns 

Design Patterns in Kotlin: Creational Patterns

 Posted on April 25, 2020  |  Xizhi Zhu

Gang of Four’s Creational Patterns describe the way of creating and initializing objects.

[Read More]
kotlin  design patterns 

Effective Kotlin: Serialization

 Posted on April 24, 2020  |  Xizhi Zhu

Let’s see how we can apply Joshua Bloch’s Effective Java in the Kotlin world. Today’s topic is Serialization.

[Read More]
kotlin  effective kotlin 

Effective Kotlin: Concurrency

 Posted on April 23, 2020  |  Xizhi Zhu

Let’s see how we can apply Joshua Bloch’s Effective Java in the Kotlin world. Today’s topic is Concurrency.

[Read More]
kotlin  effective kotlin 
  • Older Posts →

Xizhi Zhu  • © 2023  •  xizzhu

Hugo v0.118.2 powered  •  Theme Beautiful Hugo adapted from Beautiful Jekyll