---
title: "Louis CAD (@LouisCAD) | Hashnode"
description: "Kotlin GDE. Read the latest articles by Louis CAD on Hashnode."
url: "https://hashnode.com/@LouisCAD"
---

@LouisCAD

# Louis CAD

@LouisCAD · Tours, France · Joined June 2017

Kotlin GDE

### [Optimized Chessboard Pattern VectorDrawable in Kotlin](https://blog.louiscad.com/optimized-chessboard-pattern-vectordrawable-in-kotlin?utm_source=hashnode&utm_medium=feed)

Learn how to leverage the Kotlin programming language to generate pixel perfect vector graphics easily, and learn how to optimize for performant renders.

11 min read · [blog.louiscad.com](https://blog.louiscad.com/optimized-chessboard-pattern-vectordrawable-in-kotlin?utm_source=hashnode&utm_medium=feed)

[Jul 15, 2022](https://hashnode.com/posts/optimized-chessboard-pattern-vectordrawable-in-kotlin/62d176d12f551b044bc14d7e)

### [Coroutines racing! Why, and how.](https://blog.louiscad.com/coroutines-racing-why-and-how?utm_source=hashnode&utm_medium=feed)

In this article, you'll see how to race coroutines in Kotlin: The fastest suspending function will get its value returned, others will be cancelled.

7 min read · [blog.louiscad.com](https://blog.louiscad.com/coroutines-racing-why-and-how?utm_source=hashnode&utm_medium=feed)

[3](https://hashnode.com/posts/coroutines-racing-why-and-how/618a2953f991b025366df06f) [Nov 8, 2021](https://hashnode.com/posts/coroutines-racing-why-and-how/618a2953f991b025366df06f)

### [How to return 2+ values with 0 allocation in Kotlin](https://blog.louiscad.com/how-to-return-2-values-with-0-allocation-in-kotlin?utm_source=hashnode&utm_medium=feed)

Since Kotlin 1.3, with contracts and inline functions, it's possible to return more than one value, without allocation any extra class. See how.

5 min read · [blog.louiscad.com](https://blog.louiscad.com/how-to-return-2-values-with-0-allocation-in-kotlin?utm_source=hashnode&utm_medium=feed)

[2](https://hashnode.com/posts/how-to-return-2-values-with-0-allocation-in-kotlin/61487096699fe76cd34845e5) [Sep 20, 2021](https://hashnode.com/posts/how-to-return-2-values-with-0-allocation-in-kotlin/61487096699fe76cd34845e5)
