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
  • Наука та технологія

КОМЕНТАРІ • 38

  • @typealias
    @typealias  29 днів тому +4

    🔊🎵 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!

  • @developer.emad.mehrez
    @developer.emad.mehrez Місяць тому +9

    So excited for the future of Kotlin

  • @hosenalzuhile3019
    @hosenalzuhile3019 Місяць тому +9

    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 Місяць тому +6

    Great introduction to K2 compiler!

  • @iosifvilcea
    @iosifvilcea Місяць тому +2

    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  Місяць тому +1

      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

  • @micnubinub
    @micnubinub Місяць тому +12

    Great video, but hard to hear over the music

    • @typealias
      @typealias  Місяць тому +5

      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  29 днів тому

      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.

  • @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  Місяць тому +1

      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
    @msahu2595 24 дні тому

    Wonderful video ❤

  • @kid1412621
    @kid1412621 28 днів тому

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

  • @remek712
    @remek712 18 днів тому

    How to handle pressure in Scrum Sprints as a Kotlin Developer

  • @jayshah5695
    @jayshah5695 29 днів тому +2

    When will kotlin have first class lsp?

  • @kirillsh8383
    @kirillsh8383 23 дні тому

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

  • @king_vidda
    @king_vidda 21 день тому

    Great video chief

  • @ysrtayfun
    @ysrtayfun Місяць тому +1

    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 Місяць тому

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

  • @potatosheep
    @potatosheep 27 днів тому

    new sub!

  • @msahu2595
    @msahu2595 24 дні тому

  • @encapsulatio
    @encapsulatio 23 дні тому

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

    • @typealias
      @typealias  23 дні тому

      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 27 днів тому

    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.

  • @imflyingoverclouds
    @imflyingoverclouds 29 днів тому

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

    • @typealias
      @typealias  29 днів тому +1

      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

    • @imflyingoverclouds
      @imflyingoverclouds 29 днів тому

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

  • @pau1976
    @pau1976 7 днів тому

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

    • @typealias
      @typealias  7 днів тому +1

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

  • @snatvb
    @snatvb 15 днів тому

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

  • @EverythingWithKotlin
    @EverythingWithKotlin Місяць тому +1

    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 17 днів тому

    Kot means Poo/faeces in German.

  • @thanosfisherman
    @thanosfisherman 28 днів тому +1

    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 27 днів тому

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