What's new in Kotlin

What's new in Kotlin

B0f8177e3259f29952640f98bf795965?s=128

satorufujiwara

November 07, 2018
Tweet

Transcript

  1. What’s new in Kotlin 2018.11.07 Ͳ͜Ͱ΋Kotlin #6 @satorufujiwara

  2. About me Satoru Fujiwara (@satorufujiwara) Developer Relations @ LINE Corp

    ٕज़ސ໰ @ ΤϜεϦʔגࣜձࣾ Organizer of Shibuya.apk & JKUG ༁ॻ : Kotlin ΠϯɾΞΫγϣϯ ஶॻ : Android ΞϓϦઃܭύλʔϯೖ໳
  3. Kotlin & Me • 2015೥3݄ΑΓKotlinͰAndroidΞϓϦΛ։ൃ • 2017೥ ʮKotlin ΠϯɾΞΫγϣϯʯΛ຋༁ •

    2018೥ ೔ຊKotlinϢʔβάϧʔϓͱͯ͠ʮKotlin Fest 2018ʯΛओ࠵ • dex.fm #58 ͰKotlinʹ͍͍ͭͯΖ͍Ζ࿩ͯ͠·͢
  4. 4 What’s new in Kotlin

  5. What's new in Kotlin • 10/3ʙ10/5 Kotlin Conf 2018 @

    Amsterdam • 10/29 Kotlin 1.3 Release
  6. None
  7. KotlinConf ʹ͍ͭͯ • ʮKotlinʯΛςʔϚʹͨ͠ΧϯϑΝϨϯε • JetBrains͕ओ࠵ • ڈ೥(αϯϑϥϯγεί)ʹଓ͖ɺ2ճ໨͸ΞϜεςϧμϜͰ։࠵ • 1300ਓҎ্ͷࢀՃऀ

    (νέοτ׬ചɺڈ೥΋΄΅ಉ਺Ͱ׬ച)
  8. Kotlin Conf 2018 Sessions • Keynote + 63 Sessions +

    Closing Panel / 4 Tracks • શͯ࿥ը͕ެ։͞Ε͍ͯΔ • Coroutine / Multiplatform(iOSؚΉ) / Server Side ͕ଟΊ • Android ݻ༗ͷSession͸3ͭ
  9. KotlinConf 2018 Keynote Overview

  10. Kotlin Conf 2018 Keynote • KotlinͷݴޠઃܭऀͰ͋Δ Andrey Breslav ࢯ͕ొஃ •

    ಈը͕ެ։͞Ε͍ͯΔ • JetBrains BlogʮKotlinConf 2018 Announcementsʯ • https://blog.jetbrains.com/kotlin/2018/10/kotlinconf-2018-announcements/
  11. Kotlin Conf 2018 Keynote Topics • KotlinͷݴޠઃܭͷՁ஋؍ʮPragmaticʯ • Momentum =

    Kotlinͷ੝Γ্͕Γ • Industry = Kotlinͷۀքಈ޲ • Evolution = KotlinͷਐԽͷํ޲ੑ • Kotlin 1.3ʹ͍ͭͯ
  12. Pragmatic

  13. Pragmatic • ʮ࣮༻ओٛʯ • Kotlinͷݴޠઃܭʹ͓͚ΔҰ؏͠ ͨՁ஋؍ • ࣮૷ऀͷߟ͑Λͦͷ··ιϑτ΢Σ Ξʹམͱ͠ࠐΊΔ

  14. Kotlin ͷ Pragmatic • Concision Ͱ͸ͳ͘ Readability • Expressiveness Ͱ͸ͳ͘

    Reuse • Originality Ͱ͸ͳ͘ Interoperability • Soundness Ͱ͸ͳ͘ Safety / Tooling
  15. Kotlinͷ࣮༻ओٛ (Pragmatic) • ಡΈ΍͘͢ (Readability) • ࠶ར༻ՄೳͰ (Reuse) • ૬ޓӡ༻ੑ͕͋Γ

    (Interoperability) • ҆શͰ (Safety) • πʔϧ͕ॆ࣮ (Tooling)
  16. Kotlin Conf 2018 Keynote Topics • KotlinͷݴޠઃܭͷՁ஋؍ʮPragmaticʯ • Momentum =

    Kotlinͷ੝Γ্͕Γ • Industry = Kotlinͷۀքಈ޲ • Evolution = KotlinͷਐԽͷํ޲ੑ • Kotlin 1.3ʹ͍ͭͯ
  17. Kotlin Conf 2018 Keynote Topics • KotlinͷݴޠઃܭͷՁ஋؍ʮPragmaticʯ • Momentum =

    Kotlinͷ੝Γ্͕Γ • Industry = Kotlinͷۀքಈ޲ • Evolution = KotlinͷਐԽͷํ޲ੑ • Kotlin 1.3ʹ͍ͭͯ ৄ͘͠͸ 10/15 ։࠵ͷ CA.kt KotlinConf ใࠂձ ͰͷࢿྉͰ
  18. @ 2018.10.15 CA.kt KotlinConf 2018 ใࠂձ https://speakerdeck.com/satorufujiwara/kotlinconf-2018-keynote-overview

  19. Evolution

  20. ϓϩάϥϛϯάݴޠͷਐԽ(Evolution) • Keep the language modern • Comfortable update •

    ͜ΕΒ͸͓ޓ͍ʹ੍໿͕͋Δ΋ͷͳͷͰόϥϯεΛͱΔඞཁ͕ ͋Δ • KotlinͰ͸IDEʹΑΔϙοϓΞοϓ΍ɺࣗಈͰͷMigrationͳͲΛ ࢖͍ɺշదͳҠߦΛॿ͚Δ
  21. KotlinͷਐԽͷͨΊʹ • Feedback loop ͕େࣄ • ͦͷͨΊʹϦϦʔεલʹ͸EAP΍RCόʔδϣϯΛग़͢

  22. Kotlin 1.3

  23. Kotlin 1.3 • 10/29 Kotlin 1.3ϦϦʔε • Coroutines͕Stableʹ • Kotlin/Native͕BETAϦϦʔε

    • Contracts / Inline classesͳͲͷexperimentalͳػೳ͕௥Ճ • ৄ͘͠͸ҎԼϒϩά(೔ຊޠ)ʹ • https://blog.jetbrains.com/jp/2018/10/30/1511
  24. Kotlin 1.3 ͷͦͷଞͷมߋ • when ࣜ಺ͷม਺ఆٛ / ύϥϝʔλෆཁͷmainؔ਺ ͳͲͳͲ •

    Ҡߦπʔϧ (experimental) ͕༻ҙ͞Ε͍ͯΔ
  25. Kotlin Conf Kotlin1.3 ؔ࿈ηογϣϯ • Coroutines • Exploring Coroutines in

    Kotlin / DAY2 10:15 • Kotlin Coroutines in Practice / DAY2 13:00 • Multiplatform • Kotlin/Native concurrency model / DAY1 15:15 • Effective multiplatform Kotlin development / DAY1 17:15 • Contracts • New Type Inference and Related Language Features / DAY1 16:15
  26. What’s new links

  27. kotl.in links • kotl.in/foundation • kotl.in/coroutines • kotl.in/native • kotl.in/multiplatform

    • kotl.in/1.3 • kotl.in/learn
  28. 28 HAVE A NICE KOTLIN!