Skip to content

Duong's Blog

About technology stuff that piqued my interest

  • English
  • Vietnamese
  • About me

Author: duongnt.bk

  • Home
  • duongnt.bk

Tìm hiểu về null safety trong Kotlin

February 6, 2023February 6, 2023 duongnt.bkLeave a Comment on Tìm hiểu về null safety trong Kotlin

Null safety trong Kotlin có vẻ đã bổ sung thêm kiểu dữ liệu cho JVM. Trong bài hôm nay, ta sẽ tìm hiểu xem tính năng đó thực ra được implement bằng cách nào.

Java/Kotlin, Vietnamese Kotlin, null-safety, nullable

Kotlin null safety deep dive

February 6, 2023February 6, 2023 duongnt.bk1 Comment on Kotlin null safety deep dive

At first glances, null safety in Kotlin seems to add new types to the JVM. In this article, we will take a deep dive and see how it is actually implemented.

English, Java/Kotlin Kotlin, null-safety, nullable

Xử lý lỗi trong launch builder của Kotlin

January 24, 2023January 25, 2023 duongnt.bk1 Comment on Xử lý lỗi trong launch builder của Kotlin

Trong bài hôm nay, chúng ta sẽ tìm hiểu cách xử lý exception xảy ra trong coroutine con của các coroutine tạo bởi launch builder.

Java/Kotlin, Vietnamese concurrency, coroutine, Kotlin

The Kotlin launch builder and exception handling

January 22, 2023January 25, 2023 duongnt.bk1 Comment on The Kotlin launch builder and exception handling

In today’s article, we will look at how to handle exceptions occurred inside children of coroutines created by the launch builder.

English, Java/Kotlin concurrency, coroutine, Kotlin

Type erasure và reified trong Kotlin

December 28, 2022December 28, 2022 duongnt.bk1 Comment on Type erasure và reified trong Kotlin

Trong Kotlin ta không thể sử dụng type information của hàm generic tại runtime. Trừ phi ta dùng từ khoá reified trong hàm inline.

Java/Kotlin, Vietnamese generic, Kotlin, reified, type erasure

Type erasure and reified in Kotlin

December 28, 2022December 29, 2022 duongnt.bk1 Comment on Type erasure and reified in Kotlin

Due to type erasure, we cannot access type information of generic methods at runtime. Unless we use the reified keyword inside an inline method.

English, Java/Kotlin generic, Kotlin, reified, type erasure

FastAndFaster and dynamic code generation

December 2, 2022December 2, 2022 duongnt.bk1 Comment on FastAndFaster and dynamic code generation

FastAndFaster is a library to create objects and invoke their methods using dynamic code generation. Its performance is very close to static C# code.

C#, English C#, dynamic, il

FastAndFaster và dynamic code generation

December 2, 2022October 9, 2025 duongnt.bk1 Comment on FastAndFaster và dynamic code generation

Thư viện FastAndFaster sử dụng dynamic code generation để tạo object và gọi hàm của chúng tại runtime. Tốc độ của nó không thua gì static code.

C#, Vietnamese C#, dynamic, il

Kluent – FluentAssertions cho Kotlin

November 13, 2022November 17, 2022 duongnt.bk1 Comment on Kluent – FluentAssertions cho Kotlin

Unit test không chỉ cần đúng mà còn phải dễ đọc. Với Kluent, chúng ta có viết những assertion nghe giống như ngôn ngữ tự nhiên.

Java/Kotlin, Vietnamese Kluent, Kotlin, testing

Kluent – FluentAssertions for Kotlin

November 13, 2022November 17, 2022 duongnt.bk1 Comment on Kluent – FluentAssertions for Kotlin

A unit test not only needs to be correct but also needs to be readable. With Kluent, we can write assertions that sound like natural language.

English, Java/Kotlin Kluent, Kotlin, testing

Posts navigation

Older posts
Newer posts
Copyright © 2026 Duong's Blog All rights reserved. Theme: Flash by ThemeGrill. Powered by WordPress