Looking Forward to Kotlin 2.0
Вставка
- Опубліковано 15 чер 2024
- The Kotlin 2.0 release candidates are coming along. Let's learn what 2.0 is all about, and explore some of the updates that I'm most looking forward to!
K2 Compiler Performance Benchmarks:
blog.jetbrains.com/kotlin/202...
K2 Performance Metrics Project:
github.com/Kotlin/k2-performa...
K2 Compiler Migration Guide:
kotlinlang.org/docs/k2-compil...
✨ New to Kotlin? Start your journey here: typealias.com/start/
... or pick up the new Leanpub Edition for offline access and more! book.typealias.com/
🚀 Get the inside scoop on everything I'm working on - join my brand new email newsletter!
Sign up here: newsletter.typealias.com/
00:00 Introduction
00:56 Overview of the Kotlin Compiler
02:47 The K2 Front End
03:14 K2 in the IDE
04:10 Configuring a Project for Kotlin 2.0
06:07 Performance Benefits
07:00 Updates to Type Inference and Smart Casts
09:08 Looking Forward - Наука та технологія
🔊🎵 Got lots of feedback about the volume of the music during the compiler animation, so I've uploaded a version of that animation without the music: ua-cam.com/video/Ib2xU9bDQSE/v-deo.html
Thanks so much, everyone!
So excited for the future of Kotlin
Can't wait to see the next video about the new features!
Thanks Hosen! I'm looking forward to seeing what's announced next week at KotlinConf!
Great introduction to K2 compiler!
Thanks Dave! Great video. I especially appreciate the overview of the Kotlin compiler at the beginning. Do you have any recommended resources for diving deeper into its inner workings?
Thanks so much, Iosif! I haven't found a ton of resources, but these two will take you deeper than I went in this video:
- ua-cam.com/video/iTdJJq_LyoY/v-deo.html
- ua-cam.com/video/wUGfuWHCqrc/v-deo.html
Great video, but hard to hear over the music
Thanks for the feedback! I'll try to balance out the audio a little better next time. 👍
Wanted to say same thing. It's a tad too loud and interfered with talking. :)
Thanks everyone! Since I can't edit a video once it's up, I uploaded a version of the animation without the music, as a separate video here. ua-cam.com/video/Ib2xU9bDQSE/v-deo.html
I genuinely appreciate the feedback about this, and in the future, I'll either nix the music, or pull it down much lower.
Hey Dave, great video! Could you share what do you use to create these cool animations that starts at 1:00?
Hey Rahmi, thanks! I'm glad you liked the animations! It was a lot of manual work, but I used Toon Boom Harmony for the animations, since that's what I'm most familiar with, from making videos with cartoon animations. If you ever find an application that's better suited to infographic-style animations, let me know! I'd love to save time on those!
Wonderful video ❤
For Android compose, I guess need to wait a little longer once k2 officially released?
How to handle pressure in Scrum Sprints as a Kotlin Developer
When will kotlin have first class lsp?
install two idea version just to tigger checkbox... why it could not be project scope setting? WTF
Great video chief
Hello Dave, I have contacted you some time ago about translating your book to Turkish via LinkedIn. I have lost my account over there. I have prepared the translation of chapter 1. Is there a way to send translated files to you? Thanks.
Hey, great to hear from you! I'm currently working on getting some tooling in place to make it easy (well, "easier") to submit translations, and hoping to have that in place soon. If you're on Kotlin Slack, reach out to me in a DM there, and I can let you know when that tooling is ready!
@@typealias Hello again, I have requested an invitation. I will DM you after joining there. By the way, I have downloaded the page of chapter 1 and translated the contents directly inside HTML. You may not need any tool to work with my translation. I wanted to share a WeTransfer link here but I guess it is not permitted.
new sub!
❤
Is Kotlin Multiplatform ever going to reach maturity of Flutter in developing cross platform apps?
I suspect so. It's got some larger hurdles to overcome, of course. The interop and the flexibility to share as much or as little code as you want - those things are excellent characteristics of KMP, but I'm sure they require a lot more work both to develop and to maintain. Once the direct Kotlin-to-Swift exporter is done, the Fleet KMP support is polished, and Compose Multiplatform for iOS reaches stable, I'd feel pretty good about it. It's been a few years since I've done anything with Flutter, though, so I'm not sure how the characteristics would compare at that point.
It's all nice and cool, I'm really looking forward to K2 mostly for the performance benefits. However, I tried running K2 on our 500.000+ lines of production code with the IntelliJ integration and... oh boy. It's bad. Tons of errors in code that compiled just fine under 1.9.23. Granted, the K2 IntelliJ integration is in alpha (and it cannot do extract method refactorings, which is infuriating) but I feel that the migration to K2 isn't happening this year, at least not for my team.
Fantastic content but I believe you should adjust the background music lower than this. It is really hard to hear you.
Thanks for mentioning that! Yes, I've gotten a lot of feedback about that, so I'll balance that better in the future. Meanwhile, I've uploaded the animation on its own without the music, and you can watch it here: ua-cam.com/video/Ib2xU9bDQSE/v-deo.html
@@typealias Keep up the work 👑. There isn't enough good content about Kotlin.
Thanks for the info but the background loud music makes it hard to follow you
Yep, sorry about that! Check the pinned comment above for the music-free animation video.
no lsp :( that's why kotlin develops so slowly
Really great information, but i cant stand the music. its so annoying
Hey, thanks for your candor! I'll keep that in mind for future videos.
Kot means Poo/faeces in German.
Kotlin will sadly live under the shadow of Java in areas outside of android dev. No matter how hard i tried to look for a kotlin job that doesn't involve android, I couldn't.
Could not follow because distracting music. UA-cam should have two channels so one can turn off the annoying background music.