Looking Forward to Kotlin 2.0

Ғылым және технология

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

Пікірлер: 40

  • @typealias
    @typealias2 ай бұрын

    🔊🎵 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: kzread.info/dash/bejne/e5Zm2rdykqe3g6g.html Thanks so much, everyone!

  • @developer.emad.mehrez
    @developer.emad.mehrez2 ай бұрын

    So excited for the future of Kotlin

  • @hosenalzuhile3019
    @hosenalzuhile30192 ай бұрын

    Can't wait to see the next video about the new features!

  • @typealias

    @typealias

    2 ай бұрын

    Thanks Hosen! I'm looking forward to seeing what's announced next week at KotlinConf!

  • @amitbhandari1176
    @amitbhandari11762 ай бұрын

    Great introduction to K2 compiler!

  • @jhoncharlesdf.1599
    @jhoncharlesdf.1599Ай бұрын

    Great Dave!, is amazin to see your channel, very easy and concise!, absolutely very nice!🎯

  • @iosifvilcea
    @iosifvilcea2 ай бұрын

    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

    2 ай бұрын

    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: - kzread.info/dash/bejne/m4iYrKyqj6_fn7w.html - kzread.info/dash/bejne/qYl7yNeQeKbXosY.html

  • @iosifvilcea

    @iosifvilcea

    2 ай бұрын

    🙏

  • @micnubinub
    @micnubinub2 ай бұрын

    Great video, but hard to hear over the music

  • @typealias

    @typealias

    2 ай бұрын

    Thanks for the feedback! I'll try to balance out the audio a little better next time. 👍

  • @Mike-er2ih

    @Mike-er2ih

    2 ай бұрын

    Wanted to say same thing. It's a tad too loud and interfered with talking. :)

  • @typealias

    @typealias

    2 ай бұрын

    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. kzread.info/dash/bejne/e5Zm2rdykqe3g6g.html I genuinely appreciate the feedback about this, and in the future, I'll either nix the music, or pull it down much lower.

  • @rahmicemreunal6122
    @rahmicemreunal61222 ай бұрын

    Hey Dave, great video! Could you share what do you use to create these cool animations that starts at 1:00?

  • @typealias

    @typealias

    2 ай бұрын

    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!

  • @msahu2595
    @msahu25952 ай бұрын

    Wonderful video ❤

  • @kid1412621
    @kid14126212 ай бұрын

    For Android compose, I guess need to wait a little longer once k2 officially released?

  • @jayshah5695
    @jayshah56952 ай бұрын

    When will kotlin have first class lsp?

  • @kirillsh8383
    @kirillsh8383Ай бұрын

    install two idea version just to tigger checkbox... why it could not be project scope setting? WTF

  • @king_vidda
    @king_viddaАй бұрын

    Great video chief

  • @remek712
    @remek712Ай бұрын

    How to handle pressure in Scrum Sprints as a Kotlin Developer

  • @ysrtayfun
    @ysrtayfun2 ай бұрын

    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

    2 ай бұрын

    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

    2 ай бұрын

    @@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.

  • @AlanDarkworld
    @AlanDarkworld2 ай бұрын

    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.

  • @snatvb
    @snatvbАй бұрын

    no lsp :( that's why kotlin develops so slowly

  • @encapsulatio
    @encapsulatioАй бұрын

    Is Kotlin Multiplatform ever going to reach maturity of Flutter in developing cross platform apps?

  • @typealias

    @typealias

    Ай бұрын

    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.

  • @msahu2595
    @msahu25952 ай бұрын

  • @potatosheep
    @potatosheep2 ай бұрын

    new sub!

  • @imflyingoverclouds
    @imflyingoverclouds2 ай бұрын

    Fantastic content but I believe you should adjust the background music lower than this. It is really hard to hear you.

  • @typealias

    @typealias

    2 ай бұрын

    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: kzread.info/dash/bejne/e5Zm2rdykqe3g6g.html

  • @imflyingoverclouds

    @imflyingoverclouds

    2 ай бұрын

    @@typealias Keep up the work 👑. There isn't enough good content about Kotlin.

  • @pau1976
    @pau1976Ай бұрын

    Thanks for the info but the background loud music makes it hard to follow you

  • @typealias

    @typealias

    Ай бұрын

    Yep, sorry about that! Check the pinned comment above for the music-free animation video.

  • @gnorts828
    @gnorts828Ай бұрын

    Kot means Poo/faeces in German.

  • @EverythingWithKotlin
    @EverythingWithKotlin2 ай бұрын

    Really great information, but i cant stand the music. its so annoying

  • @typealias

    @typealias

    2 ай бұрын

    Hey, thanks for your candor! I'll keep that in mind for future videos.

  • @thanosfisherman
    @thanosfisherman2 ай бұрын

    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
    @gunnarbernstein93632 ай бұрын

    Could not follow because distracting music. KZread should have two channels so one can turn off the annoying background music.

Келесі