Kotlin Christmas Dream
I had a dream. In this dream, I created a new project in an IDE. It had only two modules, one for client, and one for server. In the client module, I created a simple view with Compose, and with one click I started it on Wasm, Android, iOS and desktop. I made an endpoint in backend, and I used seemingly on all those platforms. I needed a library, so I added it with one command. I was delighted with the experience, just like many other developers, including JavaScript developers, Python developers or even Rust developers, who are not that easy to impress. A viral demo of this experience moved around the internet, and they all wanted to try it.
Sadly, that was only a dream, we are not there, but we can be. Kotlin ecosystem can offer a similar experience as Next.js, actually even much better experience. Compose is a much better library than React, Kotlin Coroutines are much more powerful than JavaScript Promises, and Kotlin is a much better language than JavaScript. However, there is still a lot to be done. Support for Compose Multiplatform is still very limited, configurations are not easy, and Gradle is hard to work with. But there is hope, there is an active development of Fleet, Amper, and there are constant improvements in Compose Multiplatform. There are better and better tools and libraries made every day.
Christmas is the time of wishes, so I wish that my dream will one day come true, that we will have a delightful Kotlin ecosystem that developers from all other backgrounds will be impressed by. Happy Kotlin Christmas! 🎄🎅🎁