Kotlin logo

Kotlin

A concise multiplatform language developed by JetBrains

KotlinConf 2023: 개회 기조연설 살펴보기

KotlinConf 2023 개회 기조연설에서 Roman Elizarov, Svetlana Isakova, Egor Tolstoy는 JetBrains가 최근 Kotlin 언어에서 수행한 작업에 대한 몇 가지 흥미로운 발표를 하였으며, Grace Kloba는 Google의 최신 소식을 공유했습니다.

  • K2 컴파일러가 Kotlin 2.0으로 출시됩니다.
  • Gradle Kotlin DSL은 새 빌드에 기본적으로 적용됩니다.
  • Google에서 Kotlin 언어 채택이 급증하고 있습니다.
  • Kotlin Foundation은 라이브러리 작성자를 위한 자금 지원 프로그램과 기업을 위한 멤버십 프로그램을 시작합니다.
  • Kotlin Multiplatform이 올해 안정화될 예정입니다.
  • Compose for iOS가 알파 버전으로 나옵니다.
  • 실험적 Compose for Web이 Kotlin/Wasm으로 구동됩니다.

기조연설을 시청하거나 주요 발표 내용을 계속 읽어보세요.

컨퍼런스는 암스테르담에서, 4월 13일과 14일에 걸쳐 개최되었습니다.

📽️ 행사에 적극적으로 참여하고 싶다면 일정을 살펴보고 가장 흥미로운 강연을 선택하여 실시간 스트리밍으로 즐기세요! (현재는 녹화영상을 시청할 수 있습니다)

Kotlin 2.0 및 추가적인 언어 진화

지난 2019년, JetBrains는 성능 혁신에 목표를 두고 새로운 K2 컴파일러 개발을 시작했습니다. 새로운 컴파일러에 대한 작업이 거의 마무리됨에 따라 버전 1.9에 이어 Kotlin 2.0으로 출시된다는 기쁜 소식을 알려 드립니다.

새 컴파일러에서 가장 눈에 띄는 개선 사항은 컴파일 속도가 크게 향상되었다는 것입니다. 새로운 아키텍처의 채택으로 컴파일링 파이프라인이 두 배 빨라집니다! 물론, 특정 프로젝트에 따라 속도 향상의 정도는 다릅니다.

2.0 테스트 버전의 Kotlin 컴파일러 자체 빌드에서 컴파일링 속도가 얼마나 개선되었는지 아래 예시를 통해 확인하세요.

Kotlin 2.0 사용해 보기

Kotlin은 소중한 여러분의 의견과 인사이트를 반영하여 개발되고 설계됩니다. Kotlin 2.0을 사용해 보고 원하는 대로 작동하는지, 특별한 문제가 있는지 알려주세요. Kotlin 1.8.20부터 일반 Kotlin 언어 버전 플래그를 통해 Kotlin 2.0 언어 버전의 테스트 버전을 활성화할 수 있습니다.

YouTrack에서 Kotlin 2.0 개발자에게 직접 피드백을 제공해 주세요.

Kotlin 2.0 사용해 보기

새로운 도구 및 컴파일러 플러그인

Kotlin 2.0은 미래 언어 진화의 속도를 높일 것입니다. 새로운 아키텍처의 채택으로 컴파일러를 수십 번 수정하지 않고도 새로운 기능을 더 빠르게 도입할 수 있습니다. 또한 컴파일러 플러그인을 사용하여 언어 외부에서 수행할 수 있는 작업에서도 훨씬 더 강력해졌습니다.

새로운 컴파일러는 많은 도구에도 통합될 예정입니다. Kotlin IDE 플러그인이 새롭게 작성됩니다. Google은 기존 플러그인이 Kotlin 2.0에서 자동으로 작동할 수 있도록 Kotlin Symbol Processing(KSP) 엔진에 대한 업데이트 작업을 진행하고 있습니다. Google은 또한 개발자 경험을 더욱 향상하기 위해 JetBrains와 긴밀히 협력하여 K2를 Android Studio 및 Compose 컴파일러에 통합하고 있습니다.

기타 언어 소식

알려 드릴 신나는 소식이 더 있습니다! Kotlin 2.0 출시와 함께 오랫동안 기대되었던 몇 가지 기능이 제공될 예정입니다. 여기에는 정적 확장, 컬렉션 리터럴, 이름 기반 구조 분해, 컨텍스트 리시버, 명시적 필드 등이 포함됩니다.

마지막으로, IntelliJ IDEA에 통합된 Kotlin Notebook의 첫 테스트 버전을 곧 출시할 예정입니다.

이러한 언어 기능을 자세히 소개하는 기조연설과 Roman Elizarov의 Kotlin 컴파일러 플러그인 및 Kotlin Notebook 데모를 시청해 보세요.

Roman Elizarov의 이 블로그 게시물에서 새 컴파일러 및 Kotlin 2.0 로드맵에 대해 자세히 알아보세요.

Android Studio의 디폴트 빌드 언어로 채택된 Kotlin DSL

가장 먼저 전해 드릴 희소식은 Gradle Kotlin DSL이 Android Studio Giraffe부터 디폴트 빌드 언어가 된다는 사실입니다. 이에 따라 Kotlin이 인레이 힌트, 구문 강조 표시, 탐색 및 코드 완성을 제공하므로, 사용자는 Groovy보다 훨씬 향상된 경험을 얻을 수 있습니다. 이러한 기능은 익숙하지 않거나 복잡한 빌드 스크립트를 그 규칙을 잘 모르는 상태로 작업할 때 매우 중요합니다.

자세히 알아보기

Google 사내에서의 Kotlin 채택 현황

Google이 자체 제품 개발에 공식적으로 Kotlin을 지원하기 시작한 이후로 Google의 Kotlin 채택은 Android 애플리케이션을 넘어 훨씬 더 확장되고 있습니다. Google의 Kotlin 코드베이스는 1,500만 줄 이상으로, 전년 대비 두배로 성장했습니다. 실제로 Google 엔지니어의 45% 이상이 Kotlin을 사용하여 서버 측 코드를 작성하며, Google Workspace 팀은 Kotlin Multiplatform의 가능성을 모색하고 있습니다.

KotlinConf 블로그 게시물에서 Google의 Kotlin 투자에 대해 자세히 알아보세요.

자세히 알아보기

멀티플랫폼 라이브러리 작성자에게 자금을 지원하는 Kotlin Foundation

Kotlin Foundation은 현재 개인 기여자를 지원하기 위해 보조금을 지급하고 있습니다! 이 프로그램은 멀티플랫폼 프로젝트 작성자와 프로젝트를 Kotlin Multiplatform으로 확장하려는 사람들을 지원하는 데 중점을 둡니다.

Kotlin Foundation 에코시스템 위원회는 보조금 신청을 검토하는 과정에서 프로젝트의 대상자, 해결하려는 문제, 안정성 등을 고려할 예정입니다. 최근 게시된 라이브러리 API 가이드라인을 준수하는 것도 중요합니다.

1차 접수는 5월 15일에 마감됩니다. 프로그램에 대해 자세히 알아보고 신청하세요!

자세히 알아보기

Kotlin Foundation 멤버십 프로그램

Kotlin Foundation은 멤버십 프로그램을 시작하여 더 많은 기업이 언어 개발 거버넌스에 동참하고 Kotlin 에코시스템을 발전시키며 언어를 홍보할 수 있는 기회를 마련하고 있습니다.

Kotlin Foundation에 가입한 첫 회원사는 Gradle Inc., Touchlab, Shopify입니다. 이들 회사는 Kotlin 커뮤니티에서 이 언어와 에코시스템에 많은 기여를 한 것으로 잘 알려져 있습니다.

Foundation에 가입하고 회사와 커뮤니티의 가교 역할을 하여 Kotlin의 미래를 만들어 보세요!

자세히 알아보기

안정화 버전으로 가고 있는 Kotlin Multiplatform

Kotlin Multiplatform은 놀라운 채택률을 보이고 있으며 커뮤니티의 큰 기여 덕분에 에코시스템이 빠르게 성장하고 있습니다. 멀티플랫폼 라이브러리의 수가 1,000개를 넘었고 생각할 수 있는 거의 모든 사용 사례를 포괄합니다! Google의 기여 덕분에 업그레이드된 Jetpack 라이브러리 세트도 그 중 하나입니다. 

JetBrains는 메모리 관리, 프로젝트 구성, 멀티플랫폼 라이브러리와 같은 개념을 성공적으로 검증했으며 2023년에 Kotlin Multiplatform을 안정화 버전으로 출시하기 위해 최선을 다하고 있습니다.

범용성, 광범위한 에코시스템, 모든 플랫폼에 대한 포용성을 갖춘 Kotlin Multiplatform은 크로스 플랫폼 개발을 위한 최고의 선택으로 자리 잡을 잠재력을 갖고 있습니다. 그리고 이를 실현하기 위해 필요했던 마지막 요소인 크로스 플랫폼 UI가 드디어 추가되었습니다! 

알파 버전의 Compose for iOS

iOS를 대상으로 하는 Compose Multiplatform을 이제 알파 버전으로 사용할 수 있습니다. 이제 Compose Multiplatform을 사용하여 Android 및 iOS에서 동일한 앱을 빌드할 수 있습니다. 모바일 개발에서 공유 UI의 이점이 크지만, 멀티플랫폼 특유의 유연성 덕분에 앱의 비즈니스 로직을 공유하고 UI를 네이티브로 유지할지 또는 둘 모두 크로스 플랫폼으로 이동할지 선택할 수 있습니다. 그 선택은 여러분에게 달려 있습니다. 원하는 조건으로 코드를 공유하세요! 물론, 멀티플랫폼 외에도 다른 UI 프레임워크와 디자인 시스템을 자유롭게 사용할 수 있습니다.

아직 알파 버전이지만 Compose Multiplatform에 iOS 지원을 제공하기 위해 노력하고 있습니다. 저희를 도와주시려면, 직접 사용해 보고 Kotlin Slack #compose-ios 채널에서 의견을 보내주세요(멤버가 아닌 경우 여기서 가입).

Compose for iOS 사용해 보기

Kotlin/Wasm으로 구동되는 실험적 Compose for Web

새로운 플랫폼을 수용하기 위해 Kotlin을 지속적으로 확장하고 있습니다. 최신 Kotlin 버전에서 WebAssembly에 대한 실험적 지원을 이미 경험해본 분들도 있겠지만 이제 Kotlin/Wasm을 사용하여 기존 Compose 코드를 웹에 포팅하는 실험도 해볼 수 있도록 프로토타입이 제공됩니다! Kotlin Slack #compose-web 채널에서 의견을 보내주세요(회원이 아닌 경우 여기서 가입).

Compose for Web 사용해 보기

기조연설에 소개된 재미있는 사실과 통계 

  • 백만 개가 넘는 GitHub 프로젝트에서 Kotlin이 기본 언어로 사용됩니다.
  • Kotlin Multiplatform 라이브러리의 수가 작년에 60% 증가했으며 이와 같은 빠른 성장 속도가 계속되고 있습니다.
  • 모든 플랫폼에 걸쳐 모든 Kotlin 사용자의 86%가 Kotlin에 만족하거나 매우 만족합니다.
  • Kotlin을 사용하는 전문 Android 개발자의 96.9%가 이 언어에 만족하고 있으며, 이는 Java의 경우보다 9% 더 높은 수치입니다.
  • Kotlin은 가장 인기 있는 Android 개발 언어로, 상위 1,000개의 Android 앱 중 95% 이상이 Kotlin을 사용합니다.
  • 상위 1,000개 Android 앱 중 21% 이상이 Jetpack Compose를 사용하며 이는 작년보다 두 배 이상 증가한 수치입니다.

여러분께 감사드리며 KotlinConf 2023을 즐기시기 바랍니다!

Kotlin의 목표는 개발자가 자신 있게 즐거운 마음으로 애플리케이션의 모든 부분을 빌드할 수 있게 해주는 업계 언어로 자리 잡는 것이었습니다. 이러한 목표가 실현되도록 Kotlin을 발전시키는 데 열정적으로 기여해 주신 커뮤니티의 모든 분들께 깊은 감사의 말씀을 전합니다.

KotlinConf 2023 라이브스트림을 즐겁게 시청하세요. 주요 발표 내용에 대해 자세히 알아보려면 다음과 같은 강연을 시청해 보세요.

Kotlin 2.0: 

  1. How We’re Improving the Performance of the IntelliJ IDEA Kotlin Plugin(IntelliJ IDEA Kotlin 플러그인의 성능을 개선하는 방법) – Vladimir Dolzhenko 4월 14일 13:00 CEST. 
  2. K2 Compiler Plugins(K2 컴파일러 플러그인) – Mikhail Glukhikh 4월 14일 10:15 CEST. 

Google의 Kotlin 채택:

  1. Adopting Kotlin at Google Scale(Google 전반에서 Kotlin 채택) – Jeffrey van Gogh 및 John Pampuch 4월 13일 10:15 CEST.
  2. Kotlin Multiplatform in Google Workspace(Google Workspace에 이용되는 Kotlin Multiplatform) – Jason Parachoniak 4월 13일 11:15 CEST.
  3. Kotlin Multiplatform Conversions at Android Jetpack Scale(Android Jetpack 전반에서 진행되는 Kotlin Multiplatform 전환) – Dustin Lam 및 James Ward 4월 13일 13:00 CEST.
  4. Adventures Building a Kotlin Multiplatform Benchmarking Library(Kotlin Multiplatform 벤치마킹 라이브러리를 빌드하는 모험) – Rahul Ravikumar 4월 13일 16:15 CEST.

Compose 및 멀티플랫폼:

  1. Compose Multiplatform for iOS(Compose Multiplatform for iOS) – Sebastian Aigner 및 Nikita Lipsky 4월 13일 15:15 CEST. 
  2. You Can Do Desktop Too!(데스크톱도 가능합니다!) – Victor Kropp 4월 14일 10:15 CEST.
  3. Level Up on Kotlin Multiplatform(Kotlin Multiplatform 기술 수준 올리기) – Pamela Hill 4월 13일 14:00 CEST.

더 많은 리소스

  1. K2 컴파일러의 안정화 버전을 Kotlin 2.0으로 출시 – Roman Elizarov의 블로그 게시물
  2. Kotlin DSL이 이제 새로운 Gradle 빌드에서 기본적으로 채택 – GoogleGradle 블로그 게시물
  3. Kotlin Foundation 멤버십 프로그램 발표
  4. Kotlin Foundation 보조금 프로그램이 시작되었습니다

게시물 원문 작성자

image description
News

KotlinConf 2023: オープニング基調講演の振り返り

KotlinConf 2023 のオープニング基調講演では、Roman Elizarov、Svetlana Isakova、および Egor Tolstoy により、Kotlin 言語における JetBrains の最近の成果についてエキサイティングな発表がありました。また、Google 社の Grace Kloba 氏より最新のニュースが共有されました。

  • K2 コンパイラーが Kotlin 2.0 でリリースされます。
  • Gradle Kotlin DSL が新しいビルドのデフォルト言語になります。
  • Google では Kotlin 言語の採用率が急上昇しています。
  • Kotlin Foundation がライブラリ作成者向けの資金調達プログラムと法人メンバーシッププログラムを開始します。
  • Kotlin Multiplatform は今年中に安定版になります。
  • Compose for iOS がアルファ版でリリースされました。
  • Kotlin/Wasm による実験的 Compose for Web。

主な発表については、基調講演をご覧になるか、当ブログを引き続きお読みください。

4 月 13、14 日に開催されたカンファレンスは、オランダのアムステルダムにて実施されました。

📽️ このイベントを堪能したい方はスケジュールを調べて、魅力的な講演を厳選し、ライブストリームでお楽しみください!(現在は録画放送をご視聴いただけます)

Kotlin 2.0 と今後の言語の進化

当社は 2019 年にパフォーマンスの進化を目指し、新しい K2 コンパイラーの開発に着手しました。 新しいコンパイラーの作業が完成に近づいており、バージョン 1.9 に続く Kotlin 2.0 としてのリリースを発表する日を楽しみにしています。

新しいコンパイラーで最も重要な改善点は、コンパイル速度の大幅な向上です。 新しいアーキテクチャでは、コンパイルパイプラインの速度が 2 倍になります! もちろん、正確な速度の改善度は具体的なプロジェクトによって異なります。

以下に、Kotlin コンパイラー自体をバージョン 2.0 のプレビューを使ってビルドした場合の、コンパイル速度が改善した例を示しています。

Kotlin 2.0 を試そう

私たちは皆さまからの貴重なフィードバックとインサイトを頼りに Kotlin を開発し、設計を決めています。 Kotlin 2.0 をお試しいただき、皆さんのユースケースに対応できるか、またはどのような問題が発生したかをお知らせください。 Kotlin 1.8.20 からは通常の Kotlin 言語バージョンフラグを使って Kotlin 2.0 言語バージョンのプレビューを有効にできます。

フィードバックは、YouTrack で Kotlin 2.0 開発者宛てに直接お送りください。

Kotlin 2.0 を試す

新しいツールとコンパイラープラグイン

Kotlin 2.0 は今後、言語的な進化を加速させることになります。 新しいアーキテクチャでは、コンパイラーに多数の変更を加えることなく新機能をより素早く導入できます。 また、言語の範囲外でコンパイラープラグインを使用して実現できることに関してもかなり強力になっています。

新しいコンパイラーは多数のツールに組み込まれる予定です。 Kotlin IDE プラグインは書き直されます。 Google は既存プラグインと Kotlin 2.0 の自動連携を目指して Kotlin Symbol Processing(KSP)エンジンのアップデートに取り組んでいます。 Google は JetBrains との緊密な連携により、K2 を Android Studio と Compose コンパイラーに統合して開発者エクスペリエンスをさらに強化することも目指しています。

その他の言語関連ニュース

他にもいくつか皆さんにお伝えしたいことがあります! Kotlin 2.0 のリリース後に、大きく期待されていた次のいくつかの機能の提供が予定されています: 静的拡張コレクションリテラル名前ベースの非構造化コンテキストレシーバー、および明示フィールドです。

また、Kotlin Notebooks の最初のプレビューが IntelliJ IDEA に統合され、間もなくリリースされます。

これらの言語機能の詳細や Kotlin コンパイラープラグイン、 Kotlin Notebooks に関する Roman Elizarov のデモについては、基調講演の録画をご覧ください。

Roman Elizarov が執筆したこちらのブログで新しいコンパイラーと Kotlin 2.0 のロードマップの詳細を読む

Kotlin DSL が Android Studio のデフォルトのビルド言語に

Android Studio Giraffe から Gradle Kotlin DSL がデフォルトのビルド言語になることは、今回の最もエキサイティングな発表の一つです。 この変更によって Kotlin がインレイヒント、構文ハイライト、ナビゲーション、コード補完を提供するようになるため、Groovy と比較して開発体験が大幅に向上します。 これらの機能は、ルールを把握し切れていない不慣れなビルドスクリプトや複雑なビルドスクリプトを扱う場合には不可欠なものです。

詳細情報

Google 社内での Kotlin の採用

Google が自社製品の開発で Kotlin を正式にサポートして以来、Kotlin の Google での採用率は Android アプリケーション以外においても拡大しています。 Google での Kotlin コードベースは 1,500 万行を超えており、昨年の 2 倍に拡大しています。 実際、Kotlin を使用する Google エンジニアの 45% 以上がサーバーサイドのコードを書いており、Google Workspace チームは Kotlin Multiplatform の可能性を探っています。

Google の KotlinConf ブログ記事で、Google による Kotlin への投資について詳しく見る

詳細

Kotlin Foundation によるマルチプラットフォームライブラリ作成者への助成金援助

Kotlin Foundation が個人貢献者を支援する助成金を提供し始めました! このプログラムはマルチプラットフォームプロジェクトの作者だけでなく、プロジェクトを Kotlin Multiplatform に展開しようとしている個人を支援することを目的としています。

Kotlin Foundation Ecosystem Committee は、プロジェクトのターゲットオーディエンス、解決しようとしている課題、およびその安定性を考慮して、アプリケーションを審査します。 また、最近公開された Library API ガイドラインを遵守していることも重要です。

第 1 回目の提出期限は 5 月 15 日となっています。 このプログラムを詳細を確認して応募しましょう!

詳細

Kotlin Foundation メンバーシッププログラム

Kotlin Foundation が言語開発ガバナンス、Kotlin エコシステムの進化、および言語の推進について協力を希望する企業をさらに受け入れるため、メンバーシッププログラムを立ち上げました。

Kotlin Foundation に迎え入れられた最初のメンバーは、Gradle Inc.Touchlab、および Shopify です。 これらの企業は、この言語とエコシステムに目覚ましい貢献をしたことが Kotlin コミュニティで大いに知られています。

Foundation に参加して自社とコミュニティのつながりを築き、Kotlin の未来を形作りましょう!

詳細

Kotlin Multiplatform が間もなく安定版に

Kotlin Multiplatform はコミュニティの多大な貢献により、目覚ましい採用率を得てエコシステムの急成長を目の当たりにしています。 Multiplatform ライブラリの数は 1,000 件を超えており、想定されるほぼすべてのユースケースに対応できるようになっています! Google の貢献により、一連の Jetpack ライブラリもその 1 つとしてアップグレードされています。

メモリ管理、プロジェクト構成、およびマルチプラットフォームライブラリなどの概念が正しく検証され、2023 年は Kotlin Multiplatform の安定版リリースを目指して懸命に取り組んでいます

汎用性と広大なエコシステムを持つ、あらゆるプラットフォームに対応可能な Kotlin Multiplatform はクロスプラットフォーム開発の主な選択肢となる可能性を秘めています。 その実現に向けて必要とされていたクロスプラットフォーム UI を実装しました!

アルファ版 Compose for iOS

iOS を対象とする Compose Multiplatform のアルファ版がリリースされました。 これにより、Compose Multiplatform を使用して Android と iOS で同じアプリをビルドできるようになりました。 モバイル開発で UI を共有するメリットは大きいですが、Multiplatform ではアプリのビジネスロジックを共有して UI をネイティブのままにするか、両方でクロスプラットフォーム化するかを柔軟に選択できます。 この選択はユーザー次第です。各自の条件に合わせてコードを共有できます! もちろん、Multiplatform に加えて別の UI フレームワークを使用してシステムを設計することも可能です。

まだアルファ版ではありますが、当社は Compose Multiplatform で iOS をサポートするための取り組みを続けています。 この取り組みを支援しませんか? ぜひお試しになり、Kotlin Slack の #compose-ios チャンネルにフィードバックをお寄せください(メンバーでない場合はこちらで申請してください)。

Compose for iOS を試す

Kotlin/Wasm による実験的 Compose for Web

私たちは新しいプラットフォームを取り込めるように Kotlin を継続的に拡張しています。 最新の Kotlin バージョンで WebAssembly の実験的サポートをすでに試された方もいらっしゃるかもしれません。現在はプロトタイプがリリースされているため、Kotlin/Wasm を使用して既存の Compose コードを実験的にウェブに移植することも可能になっています! Kotlin Slack の #compose-web チャンネルにフィードバックをお寄せください(メンバーでない場合は、こちらで申請してください)。

Compose for Web を試す

基調講演で発表されたその他の情報と統計

  • Kotlin は 100 万件以上の GitHub プロジェクトで主要言語として使用されています。
  • Kotlin Multiplatform ライブラリの数は過去 1 年で 60% 増加し、これと同じペースでプラットフォーム自体も急成長を遂げています。
  • すべてのプラットフォームで全 Kotlin ユーザーの 86% が Kotlin に満足しているか、非常に満足しています。
  • Kotlin を使用する Android プロ開発者の 96.9% は Kotlin に満足しており、Java より 9% ポイント高い数値となっています。
  • Kotlin は Android 開発で最も一般的な言語であり、Android アプリ上位 1,000 タイトルの 95% 以上で使用されています。
  • Android アプリ上位 1,000 タイトルの 21% 以上は Jetpack Compose を使用しており、昨年より 2 倍以上伸びています。

ありがとうございました。KolintConf 2023 をお楽しみください!

Kotlin を理想とする「開発者がアプリケーションのあらゆる部分を自信をもって楽しみながら開発できる業界言語」にすることを目指し、熱意をもって貢献していただいたコミュニティの皆さまに深く感謝申し上げます。

KotlinConf 2023 ライブ配信(現在は録画放送をご視聴いただけます)をお楽しみください。 今回の主な発表内容について詳しく知りたい方には、以下の講演をお勧めしています。

Kotlin 2.0: 

  1. How We’re Improving the Performance of the IntelliJ IDEA Kotlin Plugin(IntelliJ IDEA Kotlin プラグインのパフォーマンス改善)ー Vladimir Dolzhenko
  2. K2 Compiler Plugins(K2 コンパイラープラグイン)ー Mikhail Glukhikh

Google における Kotlin:

  1. Adopting Kotlin at Google Scale(Google 規模での Kotlin の採用)ー Jeffrey van Gogh、John Pampuch
  2. Kotlin Multiplatform in Google Workspace(Google Workspace の Kotlin Multiplatform)ー Jason Parachoniak
  3. Kotlin Multiplatform Conversions at Android Jetpack Scale(Android Jetpack 規模での Kotlin Multiplatform 変換)ー Dustin Lam、James Ward
  4. Adventures Building a Kotlin Multiplatform Benchmarking Library(Kotlin Multiplatform ベンチマークライブラリの構築の旅)ー Rahul Ravikumar

Compose と Multiplatform:

  1. Compose Multiplatform for iOS ー Sebastian Aigner、Nikita Lipsky
  2. You Can Do Desktop Too! ー Victor Kropp
  3. Level Up on Kotlin Multiplatform(Kotlin Multiplatform でレベルアップ)ー Pamela Hill

その他のリソース

  1. The K2 Compiler Is Going Stable in Kotlin 2.0(Kotlin 2.0 で K2 コンパイラーが安定版に)- – Roman Elizarov のブログ記事
  2. The Kotlin DSL Is Now the Default for New Gradle Builds – GoogleGradle のブログ記事。
  3. Kotlin Foundation メンバーシッププログラムの発表
  4. Kotlin Foundation 助成金プログラムが公開されました

オリジナル(英語)ブログ投稿の作者:

image description
Events

KotlinConf 2023: A Look at the Opening Keynote

At the KotlinConf 2023 opening keynote, Roman Elizarov, Svetlana Isakova, and Egor Tolstoy made several exciting announcements regarding JetBrains’ recent work on the Kotlin language, while Grace Kloba shared the latest news from Google:

  • The K2 compiler will be released in Kotlin 2.0.
  • The Gradle Kotlin DSL will be the default for new builds.
  • Kotlin language adoption is skyrocketing at Google.
  • The Kotlin Foundation is launching a funding program for library authors and a membership program for companies.
  • Kotlin Multiplatform will become stable this year.
  • Compose for iOS is in Alpha.
  • Experimental Compose for Web will be powered by Kotlin/Wasm.

Watch the keynote or read on for the main announcements.

The conference has just started in Amsterdam and is set to take place today and tomorrow, April 13 and 14.

📽️ If you’re eager to immerse yourself in the event, explore the schedule and handpick the most captivating talks to enjoy via livestream!

Kotlin 2.0 and further language evolution

Back in 2019, we started developing the new K2 compiler, aiming for a performance breakthrough. As work on the new compiler nears completion, we’re thrilled to announce that it will be released as Kotlin 2.0, following version 1.9.

The most notable improvement in the new compiler is a substantial increase in compilation speed. With the new architecture, the compilation pipeline will be twice as fast! Of course, exact speed improvements will vary depending on the specific project.

You can see an example of the compilation speed improvement for the Kotlin compiler building itself with the 2.0 version preview below.

Try Kotlin 2.0

We develop Kotlin and make design decisions based on your invaluable feedback and insights. Please try Kotlin 2.0 and tell us whether it works for you and what problems you run into. Starting with Kotlin 1.8.20, you can enable a preview of the Kotlin 2.0 language version via the regular Kotlin language version flag.

Provide your feedback directly to Kotlin 2.0 developers on YouTrack.

Try Kotlin 2.0

New tooling and compiler plugins

Kotlin 2.0 is going to accelerate future language evolution. With the new architecture, we can introduce new features faster without having to make dozens of modifications to the compiler. It is also considerably more powerful regarding what can be accomplished outside of the language using compiler plugins.

The new compiler will also be incorporated into many tools. The Kotlin IDE plugin will be rewritten. Google is working on an update for the Kotlin Symbol Processing (KSP) engine so that existing plugins will be able to start automatically working with Kotlin 2.0. Google is also working closely with JetBrains to integrate K2 into Android Studio and the Compose compiler, further enhancing the developer experience.

Other language news

We also have a couple more cool things to share! Several highly anticipated features are set to be delivered after the release of Kotlin 2.0: static extensions, collection literals, name-based destructuring, context receivers, and explicit fields.

Last but not least, we will soon release the first preview of Kotlin Notebooks, integrated into IntelliJ IDEA.

Watch the keynote recording for more details about these language features and demos of the Kotlin compiler plugin and Kotlin Notebooks by Roman Elizarov.

Read more about the new compiler and Kotlin 2.0 roadmap in this blog post by Roman Elizarov

The Kotlin DSL to become the default build language in Android Studio

Among other exciting announcements, the Gradle Kotlin DSL will become the default build language starting in Android Studio Giraffe. With this change, users get a much-improved experience over Groovy, as Kotlin provides inlay hints, semantic highlighting, navigation, and code completion. These features are critical for working with unfamiliar or complex build scripts without knowing all of their rules.

Learn More

Kotlin adoption inside Google

Since Google officially started supporting Kotlin for the development of its own products, adoption of the language at Google has grown far beyond Android applications. The Kotlin codebase at Google has grown to over 15 million lines of code, doubling year over year. In fact, more than 45% of Google engineers using Kotlin write server-side code, and the Google Workspace team is exploring the possibilities of Kotlin Multiplatform.

Learn more about Google’s investments in Kotlin in their KotlinConf blog post.

Learn More

The Kotlin Foundation to fund multiplatform library authors

The Kotlin Foundation is now offering grants to support individual contributors! This program is focused on assisting authors of multiplatform projects, as well as those looking to expand their projects to Kotlin Multiplatform.

The Kotlin Foundation Ecosystem Committee will consider the project’s target audience, the issues it aims to solve, and its stability when reviewing applications. It is also important to adhere to our recently published Library API guidelines.

The first round of submissions ends on May 15. Read more about the program and apply!

Learn More

Kotlin Foundation membership program

The Kotlin Foundation has launched a membership program, welcoming more companies to collaborate on language development governance, advance the Kotlin ecosystem, and promote the language.

The first members to join the Kotlin Foundation are Gradle Inc., Touchlab, and Shopify. Those companies are well known in the Kotlin community for their incredible contribution to the language and the ecosystem.

Join the Foundation and build a connection between your company and the community to shape the future of Kotlin!

Learn More

Kotlin Multiplatform is on its way to Stable 

Kotlin Multiplatform has experienced incredible adoption and boasts a rapidly growing ecosystem thanks to a significant community contribution. The number of Multiplatform libraries exceeds 1,000 and covers virtually any use case you can think of! An upgraded set of Jetpack libraries is among them, thanks to Google’s contribution. 

We have successfully validated concepts such as memory management, project configuration, and multiplatform libraries, and in 2023 we’re fully committed to bringing Kotlin Multiplatform to a stable release.

With its versatility, extensive ecosystem, and all-platform coverage, Kotlin Multiplatform has the potential to become the go-to choice for cross-platform development. There was one piece missing in that puzzle – a cross-platform UI – and we’ve added it! 

Compose for iOS in Alpha

The Alpha version of Compose Multiplatform targeting iOS is now available. Now you can use Compose Multiplatform to build the same app on Android and iOS. While the benefits of a shared UI for mobile development are significant, the natural flexibility of Multiplatform empowers you to choose whether to share your app’s business logic and keep the UI native or go cross-platform for both. It’s up to you – share the code on your terms! Of course, you’re free to use other UI frameworks and design systems in addition to Multiplatform.

Although it’s in Alpha, we are committed to bringing iOS support to Compose Multiplatform. Want to help? Give it a try, and share your feedback with us in the Kotlin Slack #compose-ios channel (if you’re not a member, apply here).

Try Compose for iOS

Experimental Compose for Web powered by Kotlin/Wasm

We’re continuously expanding Kotlin to embrace emerging platforms. You may have already tried the Experimental support for WebAssembly in the latest Kotlin version, and now you can also experiment with porting your existing Compose code to the web using Kotlin/Wasm, as a prototype is available! Share your feedback with us on the Kotlin Slack #compose-web channel (if you’re not a member, apply here).

Try Compose for Web

More fun facts and stats from the keynote 

  • Over 1 million GitHub projects use Kotlin as their primary language.
  • The number of Kotlin Multiplatform libraries increased by 60% in the past year, and the growth is continuing at the same rapid pace.
  • 86% of all Kotlin users across all platforms are satisfied or very satisfied with Kotlin.
  • 96.9% of professional Android developers using Kotlin are satisfied with it, and this rate is 9 percentage points higher than that for their Java counterparts.
  • Kotlin is the most popular language for Android development, with over 95% of the top 1,000 Android apps using it.
  • Over 21% of the top 1,000 Android apps use Jetpack Compose, which is more than double the number from last year.

Thank you, and enjoy KotlinConf 2023!

We are deeply thankful to everyone in the community who has passionately contributed to shaping Kotlin into what it was envisioned to be – a language for the industry that empowers developers to build any part of an application with confidence and joy.

Enjoy the KotlinConf 2023 livestream. We recommend the following talks for a deep dive into the major announcements:

Kotlin 2.0: 

  1. How We’re Improving the Performance of the IntelliJ IDEA Kotlin Plugin by Vladimir Dolzhenko. April 14, 13:00 CEST. 
  2. K2 Compiler Plugins by Mikhail Glukhikh. April 14, 10:15 CEST. 

Kotlin at Google:

  1. Adopting Kotlin at Google Scale by Jeffrey van Gogh and John Pampuch. April 13, 10:15 CEST.
  2. Kotlin Multiplatform in Google Workspace by Jason Parachoniak. April 13, 11:15 CEST.
  3. Kotlin Multiplatform Conversions at Android Jetpack Scale by Dustin Lam and James Ward. April 13, 13:00 CEST.
  4. Adventures Building a Kotlin Multiplatform Benchmarking Library by Rahul Ravikumar. April 13, 16:15 CEST.

Compose and Multiplatform:

  1. Compose Multiplatform for iOS by Sebastian Aigner and Nikita Lipsky. April 13, 15:15 CEST. 
  2. You Can Do Desktop Too! by Victor Kropp. April 14, 10:15 CEST.
  3. Level Up on Kotlin Multiplatform by Pamela Hill. April 13, 14:00 CEST.

More resources

  1. The K2 Compiler Is Going Stable in Kotlin 2.0, a blog post by Roman Elizarov.
  2. The Kotlin DSL Is Now the Default for New Gradle Builds – blog posts by Google and Gradle.
  3. Announcing the Kotlin Foundation Membership Program.
  4. The Kotlin Foundation Grants Program Is Live
image description

Discover more