Could Virtual Threads cast away the usage of Kotlin Coroutines? ... and my XP at the LJC in London 2/2

  • 2 days ago
After a trip to London to give a presentation about my thoughts on the incoming use of Java Virtual Threads and the impact it might have on the development with Kotlin Coroutines I decided to make a video about the presentation. Let me first and again, express my thanks to Marcin Kruglik and Nic Fehrenbach for accepting my appication to give a presentation for the London Java Community in London at the Couchbase offices. Thank you for all the organizers and Couchbase for giving us the place to allow this to happen! In this video I talk a bit of how the journey went and how engaged the croud went. I didn't presented alone for this Meetup. There was also another presenter, Amin Talukder that gave a presentation about JVM tools and Garbage Collection. This video explains in further detail the content of that presentation. I have no videos and no photos that I can present as a general intro of this Meetup. If you missed the presentation or have been to it and want to learn more about the topics I discussed then here is the video for you! This is the first time I make a loose discussion video, where no particular conclusion is taken. Only a more empirical conclusion based on experimentation, which is where I want to draw the attention to with my presentation. Remember that benchmarking and performance and stress tests are really important to test our application's resilience and therefore we need to perform them. There are no fixed rules and the best option depends on algorithms, how the data is transmitted, the amount of CPU bound operations, if our application is an android application and how that all connects to external sources like data bases. I Hope you enjoy the video and that it makes you think better when taking decisions for your development environment in the furure!

Have a good one everyone!

PS: If you want to learn more about coroutines don't forget to checkout my playlist on Kotlin Coroutines over here:

- https://www.youtube.com/playlist?list=PLw1b-aiSLRZiL1ZecpsFUeQWCpfjLht6_

---

Sources:

- Scribd: https://www.scribd.com/presentation/768072685/Could-Virtual-Threads-Cast-Away-the-Usage-of-Kotlin-Coroutines
- Slide Share: https://www.slideshare.net/slideshow/could-virtual-threads-cast-away-the-usage-of-kotlin-coroutines/271727680
- GitHub: https://github.com/jesperancinha/virtual-thread-coroutine-cooperation

---

Resources:

- https://kotlinlang.org/docs/coroutines-basics.html
- https://openjdk.org/jeps/444
- https://openjdk.org/projects/jdk/21/
- https://www.jetbrains.com/help/idea/supported-java-versions.html
- https://discuss.kotlinlang.org/t/coroutines-java-virtual-threads-and-scoped-values/28004/1
- https://developer.android.com/build/jdks

-

As a short disclaimer, I'd like to mention that I'm not associated or affiliated with any of the brands eventually shown, displayed, or mentioned in this video.

Recommended