Skip to content
Droid Tools
Latest
/
NewsPhonesReviewsGuides

News & Features

  • NewsThe latest across mobile technology
  • ReviewsA closer look at devices & accessories
  • GuidesPractical tips & troubleshooting

Devices

  • PhonesLaunches, specs & what comes next
  • WearablesWatches, trackers & everyday tech

Software

  • AppsNew features & useful discoveries
  • Android OSUpdates, rollouts & security patches

In the spotlight

AppsGoogle Messages UI refresh rolls out slowly in beta with a couple of layout changesRead the story
All news
About Droid ToolsContact

Browse by brand

  • AppleiPhone, iPad & Apple Watch
  • SamsungGalaxy, One UI & more
  • GooglePixel, Android & Google apps
  • XiaomiXiaomi, Redmi & HyperOS
  • OnePlusPhones, watches & OxygenOS
  • HuaweiPhones, wearables & HarmonyOS
  • OppoFind, Reno & ColorOS
  • HonorMagic, wearables & MagicOS
  • MotorolaRazr, Edge & Moto

Latest from the brands

AppsGoogle Messages UI refresh rolls out slowly in beta with a couple of layout changesRead the story
Follow the brands behind your everyday tech.All phones

Deals & buying advice

Find your next upgrade.

Reported discounts on phones, wearables and accessories. Check each retailer for current pricing and availability.

Browse all deals

Recent deal coverage

  • WearablesWhy a reviewer calls the $99 Fitbit Air the best tech product of the yearRead the story
  • WearablesUgreen Android AirTag alternative hit $26.99 for a four-packRead the story
  • PhonesMotorola Moto G Stylus 2025 discounted 50% to $199.99 on AmazonRead the story
All deals Explore our guides
  • About Us
  • Contact
  • Editorial Policy
  • Review Policy
  • Privacy Policy
  • Terms & Conditions
  • Cookie Policy
  • Affiliate Disclosure
  • Disclaimer
  • HTML Sitemap

Follow Droid Tools

FacebookXInstagramThreadsLinkedInBlueskyTikTokTelegramMastodonRSS Feed
Droid Tools

Droid Tools covers the latest Android news, device reviews, app updates, and OS guides. Independent mobile tech reporting and practical advice.

Explore

  • News
  • Phones
  • Apps
  • Android OS
  • Wearables
  • Guides
  • Reviews
  • Deals

Legal & Info

  • About Us
  • Contact
  • Editorial Policy
  • Review Policy
  • Privacy Policy
  • Terms & Conditions
  • Cookie Policy
  • Affiliate Disclosure
  • Disclaimer
  • HTML Sitemap
© 2026 Droid Tools. All rights reserved.
Home/News/K2 compiler appears in Kotlin

K2 compiler appears in Kotlin

Kotlin 1.7.0, an update to the JVM, web, and mobile programming language from JetBrains, includes an alpha version of the ground-breaking K2 compiler. K2 is designed to accelerate the creation of new language features, unify the platforms that Kotlin supports, and offer an API for compiler modifications in addition to enhancing performance. However, the alpha ...

Robert Haba• Founder · Editor-in-Chief
Jun 15, 2022•Updated•News•2 min read
K2 compiler appears in Kotlin
0%
Share on XFacebookBluesky
Follow on Google
Prefer Droid Tools on GoogleSee our hands-on reviews and Android guides first in Search
Add source →

Kotlin 1.7.0, an update to the JVM, web, and mobile programming language from JetBrains, includes an alpha version of the ground-breaking K2 compiler.

K2 is designed to accelerate the creation of new language features, unify the platforms that Kotlin supports, and offer an API for compiler modifications in addition to enhancing performance. However, the alpha version is restricted to JVM projects. And only the kept plugin for annotation processors currently works with it.

Kotlin 1.7.0, an update to the JVM, web, and mobile programming language from JetBrains, includes an alpha version of the ground-breaking K2 compiler.

Kotlin

K2 is designed to accelerate the creation of new language features, unify the platforms that Kotlin supports, and offer an API for compiler modifications in addition to enhancing performance. However, the alpha version is restricted to JVM projects. And only the kept plugin for annotation processors currently works with it.

  • Definitely non-nullable types have been promoted to stable. These provide better interoperability when extending generic Java classes and interfaces.
  • Builder inference, a type inference that is useful when calling generic builder functions, is automatically activated if a regular type inference cannot get enough information about a type without specifying the -Xenable-builder-inference compiler option introduced in Kotlin 1.6.0 last November.
  • Opt-in requirements are now stable and do not require additional compiler configuration.
  • An underscore operator for type args can be used to automatically infer a type of argument when other types are specified.
  • Implementation by delegation to an inlined value of an inline class is enabled. Developers now can create lightweight wrappers that do not allocate memory in most cases.

A beta release of Kotlin 1.7.0 was published in May. Kotlin 1.6.20 arrived in April.

Tags:#android•#app•#apps•#compiler•#developer•#K2•#Kotlin
Robert Haba
Robert HabaFounder · Editor-in-Chief
X

Robert Haba is the founder and editor-in-chief of Droid Tools. A lifelong gadget enthusiast with over a decade following the Android ecosystem, he built this publication to cut through the noise and give readers honest, real-world coverage of the tech they actually use.

More by Robert Haba →How we test & review
Next Story in News

Pixel Camera 11.3 slowly rolls out to older Google phones with Launch mode and slider updates

Pixel Camera 11.3 is slowly rolling out via the Google Play Store to older Google phones with Quick access slider options, Launch mode, and a new icon.

→

Latest Stories

Google pixel 10 pro xl01

Pixel Camera 11.3 slowly rolls out to older Google phones with Launch mode and slider updates

02

GrapheneOS on Pixel 11 moves closer after Android 17 QPR2 update

03

How to join the Google Pixel Camera beta for early builds

04

Motorola Razr Flex leaks in real-life images with minimal crease

Recommended Deal

Ring Indoor Cam 2K

Ring Indoor Cam 2K

5.0(1,423)
$99.99$119.98Save 17%
Buy on Amazon

As an Amazon Associate, Droid Tools earns from qualifying purchases.

Top Deals

Why a reviewer calls the $99 Fitbit Air the best tech product of the year

Deal
Why a reviewer calls the $99 Fitbit Air the best tech product of the year

Ugreen Android AirTag alternative hit $26.99 for a four-pack

Deal
Ugreen Android AirTag alternative hit $26.99 for a four-pack

Motorola Moto G Stylus 2025 discounted 50% to $199.99 on Amazon

Deal
Motorola Moto G Stylus 2025 discounted 50% to $199.99 on Amazon

Continue reading

More from this category →
Google pixel 10 pro xl
NewsDec 5, 2026

Pixel Camera 11.3 slowly rolls out to older Google phones with Launch mode and slider updates

Pixel Camera 11.3 is slowly rolling out via the Google Play Store to older Google phones with Quick access slider options, Launch mode, and a new icon.

By Cristian Penisoara
Motorola razr flex green
NewsDec 4, 2026

Motorola Razr Flex leaks in real-life images with minimal crease

Leaked images of the Motorola Razr Flex show a wide foldable design, beige finish, and minimal crease ahead of an expected early 2027 launch.

By Cristian Penisoara
Fairphone 6
NewsDec 4, 2026

Fairphone Android 17 update rolls out to Fairphone 6 and 6+

Fairphone Android 17 rollout begins for the Fairphone 6 and 6+, bringing up to 17% longer standby time, App Lock, and a 2027 plan for Fairphone 5.

By Robert Haba
Gta 6 poster
NewsDec 3, 2026

GTA 6 update delivers 117 fixes as players allege console visual downgrades

Rockstar's November 30, 2026 GTA 6 update brings 117 fixes to PS5, PS5 Pro, and Xbox Series X|S, while players allege console visual downgrades.

By Robert Haba
Next in queue

Read the next article

The next story loads as you reach the end. You can also load it using the button.

Recommended Deals

1 of 7
Samsung Galaxy S26 Ultra

Best Android Device

Samsung Galaxy S26 Ultra

$1,212.85$1,499.99Save 19%4.9
Buy on Amazon

As an Amazon Associate, Droid Tools earns from qualifying purchases. Editorial policy

Comments & Discussions

Join the conversation! We use Disqus to handle comments. Click the button below to load the comment section.