<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/kotlin-2-0-launched-with-new-faster-more-flexible-k2-compiler-zroyaf70a" -->

---
title: Kotlin 2.0 Launched with New, Faster, More Flexible K2...
description: Kotlin 2.0 introduces the new K2 compiler, which brings faster builds, extended language capabilities with smart casts, and multiplatform support. The K2...
canonical: https://daily.dev/posts/kotlin-2-0-launched-with-new-faster-more-flexible-k2-compiler-zroyaf70a
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Kotlin 2.0 Launched with New, Faster, More Flexible K2 Compiler | daily.dev
og:description: Kotlin 2.0 introduces the new K2 compiler, which brings faster builds, extended language capabilities with smart casts, and multiplatform support. The K2...
og:url: https://daily.dev/posts/kotlin-2-0-launched-with-new-faster-more-flexible-k2-compiler-zroyaf70a
og:image: https://api.daily.dev/og/posts/ZROyaf70A.png
og:image:alt: Kotlin 2.0 Launched with New, Faster, More Flexible K2 Compiler
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Kotlin 2.0 Launched with New, Faster, More Flexible K2 Compiler

**[InfoQ](https://daily.dev/sources/infoq)** · 3 min read · 10 upvotes · 0 comments

## Summary

Kotlin 2.0 introduces the new K2 compiler, which brings faster builds, extended language capabilities with smart casts, and multiplatform support. The K2 compiler supports JVM, JavaScript, Wasm, and native platforms. The compiler improves control flow and interpretation of developers' intentions with their code.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.infoq.com/news/2024/05/kotlin-2-k2-compiler/>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 1 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#kotlin](https://daily.dev/tags/kotlin), [#performance](https://daily.dev/tags/performance)

[View this post on daily.dev](https://daily.dev/posts/kotlin-2-0-launched-with-new-faster-more-flexible-k2-compiler-zroyaf70a)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Kotlin 2.0 Launched with New, Faster, More Flexible K2 Compiler","url":"https://daily.dev/posts/kotlin-2-0-launched-with-new-faster-more-flexible-k2-compiler-zroyaf70a","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/kotlin-2-0-launched-with-new-faster-more-flexible-k2-compiler-zroyaf70a"},"datePublished":"2024-05-27T20:04:21.496Z","dateModified":"2026-06-04T02:17:10.569Z","description":"Kotlin 2.0 introduces the new K2 compiler, which brings faster builds, extended language capabilities with smart casts, and multiplatform support. The K2...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/1444bcf82ad49092a1a91e85f5d9ebec?_a=AQAEuiZ","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/1444bcf82ad49092a1a91e85f5d9ebec?_a=AQAEuiZ","isAccessibleForFree":true,"articleSection":"InfoQ","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"InfoQ","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/afc3bced3e1e4b188dd9127017a60e0c","url":"https://daily.dev/sources/infoq"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/kotlin-2-0-launched-with-new-faster-more-flexible-k2-compiler-zroyaf70a","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":10},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"kotlin,performance","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"InfoQ","item":"https://daily.dev/sources/infoq"},{"@type":"ListItem","position":3,"name":"Kotlin 2.0 Launched with New, Faster, More Flexible K2 Compiler"}]}
```

