Looking Forward to Kotlin 2.0

  Рет қаралды 14,775

Dave Leeds

Dave Leeds

Күн бұрын

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

Пікірлер: 38
@typealias
@typealias Ай бұрын
🔊🎵 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: kzbin.info/www/bejne/f5OVqYhvl6mEiac Thanks so much, everyone!
@developer.emad.mehrez
@developer.emad.mehrez Ай бұрын
So excited for the future of Kotlin
@hosenalzuhile3019
@hosenalzuhile3019 Ай бұрын
Can't wait to see the next video about the new features!
@typealias
@typealias Ай бұрын
Thanks Hosen! I'm looking forward to seeing what's announced next week at KotlinConf!
@amitbhandari1176
@amitbhandari1176 Ай бұрын
Great introduction to K2 compiler!
@iosifvilcea
@iosifvilcea Ай бұрын
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?
@typealias
@typealias Ай бұрын
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: - kzbin.info/www/bejne/n4XHe32nlLGspbs - kzbin.info/www/bejne/rYaql6iNfaikqMU
@rahmicemreunal6122
@rahmicemreunal6122 Ай бұрын
Hey Dave, great video! Could you share what do you use to create these cool animations that starts at 1:00?
@typealias
@typealias Ай бұрын
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!
@micnubinub
@micnubinub Ай бұрын
Great video, but hard to hear over the music
@typealias
@typealias Ай бұрын
Thanks for the feedback! I'll try to balance out the audio a little better next time. 👍
@Mike-er2ih
@Mike-er2ih Ай бұрын
Wanted to say same thing. It's a tad too loud and interfered with talking. :)
@typealias
@typealias Ай бұрын
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. kzbin.info/www/bejne/f5OVqYhvl6mEiac I genuinely appreciate the feedback about this, and in the future, I'll either nix the music, or pull it down much lower.
@jayshah5695
@jayshah5695 Ай бұрын
When will kotlin have first class lsp?
@msahu2595
@msahu2595 25 күн бұрын
Wonderful video ❤
@kid1412621
@kid1412621 29 күн бұрын
For Android compose, I guess need to wait a little longer once k2 officially released?
@remek712
@remek712 19 күн бұрын
How to handle pressure in Scrum Sprints as a Kotlin Developer
@kirillsh8383
@kirillsh8383 24 күн бұрын
install two idea version just to tigger checkbox... why it could not be project scope setting? WTF
@ysrtayfun
@ysrtayfun Ай бұрын
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.
@typealias
@typealias Ай бұрын
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!
@ysrtayfun
@ysrtayfun Ай бұрын
@@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.
@king_vidda
@king_vidda 22 күн бұрын
Great video chief
@encapsulatio
@encapsulatio 24 күн бұрын
Is Kotlin Multiplatform ever going to reach maturity of Flutter in developing cross platform apps?
@typealias
@typealias 24 күн бұрын
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.
@AlanDarkworld
@AlanDarkworld 28 күн бұрын
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.
@potatosheep
@potatosheep 29 күн бұрын
new sub!
@msahu2595
@msahu2595 25 күн бұрын
@pau1976
@pau1976 8 күн бұрын
Thanks for the info but the background loud music makes it hard to follow you
@typealias
@typealias 8 күн бұрын
Yep, sorry about that! Check the pinned comment above for the music-free animation video.
@imflyingoverclouds
@imflyingoverclouds Ай бұрын
Fantastic content but I believe you should adjust the background music lower than this. It is really hard to hear you.
@typealias
@typealias Ай бұрын
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: kzbin.info/www/bejne/f5OVqYhvl6mEiac
@imflyingoverclouds
@imflyingoverclouds Ай бұрын
@@typealias Keep up the work 👑. There isn't enough good content about Kotlin.
@snatvb
@snatvb 16 күн бұрын
no lsp :( that's why kotlin develops so slowly
@EverythingWithKotlin
@EverythingWithKotlin Ай бұрын
Really great information, but i cant stand the music. its so annoying
@typealias
@typealias Ай бұрын
Hey, thanks for your candor! I'll keep that in mind for future videos.
@gnorts828
@gnorts828 18 күн бұрын
Kot means Poo/faeces in German.
@thanosfisherman
@thanosfisherman 29 күн бұрын
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.
@gunnarbernstein9363
@gunnarbernstein9363 28 күн бұрын
Could not follow because distracting music. KZbin should have two channels so one can turn off the annoying background music.
Variance... without Generics!
9:01
Dave Leeds
Рет қаралды 4,9 М.
Intersection Types in Kotlin
8:45
Dave Leeds
Рет қаралды 3,3 М.
Как быстро замутить ЭлектроСамокат
00:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 13 МЛН
Чай будешь? #чайбудешь
00:14
ПАРОДИИ НА ИЗВЕСТНЫЕ ТРЕКИ
Рет қаралды 2,9 МЛН
Event-Driven Architecture (EDA) vs Request/Response (RR)
12:00
Confluent
Рет қаралды 114 М.
Reified Type Parameters
10:15
Dave Leeds
Рет қаралды 1,8 М.
Everything you need to know about Kotlin 2.0 🟣
11:05
Stevdza-San
Рет қаралды 46 М.
You Should Use Flakes Right Away in NixOS!
26:09
LibrePhoenix
Рет қаралды 50 М.
Ryan Dahl introduces JSR at DevWorld 2024
29:13
Deno
Рет қаралды 97 М.
Inline Functions: inline, crossinline, and noinline
11:59
Dave Leeds
Рет қаралды 3,3 М.
Every Kind of Class in Kotlin
10:44
Dave Leeds
Рет қаралды 6 М.