Advent of Code 2026: ’Tis the Season to Code in Kotlin
Ksenia Shneyveys · 2026年11月26日
AI 摘要 AI 生成,可能有误
Kotlin 团队邀请开发者参加 Advent of Code 2026,活动包括由 Sebastian Aigner 和嘉宾主持的四天直播(12 月 1 日至 4 日)、Kotlinlang Slack 中的社区活动,以及带有专属奖品的排行榜竞赛。要获得奖品资格,参与者必须在不使用 AI 的情况下用 Kotlin 解出至少三道谜题,在 GitHub 上发布解决方案并添加 aoc-2026-in-kotlin 话题标签,并在个人资料中填写联系方式。文章还鼓励独立解题,并提供诸如 Advent of Code Kotlin 模板之类的资源,帮助参与者快速上手。
December is almost here, and so is one of our favorite coding traditions! We’re excited to take part in Advent of Code once again and invite you to join us for another season of festive puzzles, clever Kotlin solutions, and friendly competition.
Advent of Code is a great opportunity to learn something new and have fun along the way. Here’s what’s planned for this year:
Four days of livestreams (December 1–4) with Kotlin Developer Advocate Sebastian Aigner and special guests from the Kotlin team and community, exploring different approaches to solving the puzzles.
继续阅读全文
为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。
AI 摘要Kotlin 2.5.0 has been released, marking Kotlin/Wasm as stable and introducing highlights such as stable name-based destructuring, an unused return value checker, Java 28 support for Kotlin/JVM, Swift export in Beta for Kotlin/Native, and a new publication format for Kotlin Multiplatform libraries. The release is available through the latest versions of IntelliJ IDEA and Android Studio, via build script updates, or as a command-line compiler from GitHub. Additionally, the team launched a monthly Kotlin Security Newsletter covering security fixes across Kotlin and its ecosystem.
AI 摘要Kotlin 2.5.0 introduces full value classes in Alpha stage—immutable classes with an unrestricted number of primary properties that work on all platforms and JVM versions, with the option to compile to JVM value classes starting with JDK 28 to leverage Project Valhalla performance benefits. Unlike data classes, they generate only equals(), hashCode(), and toString(), use name-based destructuring instead of position-based, and will get ergonomic update syntax ('a better copy') expected in Kotlin 2.6.0, while existing inline value classes remain supported and become multiplatform with the inline modifier in Kotlin 2.5.20. Since these features are still Alpha and not production-ready, JetBrains encourages community experimentation and feedback before the final design is committed.
AI 摘要Compose Multiplatform 1.13.0 has been released, bringing improvements to iOS, web, and desktop development. Key highlights include content-based sizing for Compose views embedded in SwiftUI and UIKit, an experimental WebGL interoperability API for rendering custom graphics and JavaScript content like three.js scenes, and faster desktop startup via AppCDS or AOT caching (with cold starts up to 4.8× faster in benchmarks). The release also incorporates updates from Jetpack Compose 1.13, such as the state-based BasicTextField and stabilized FlexBox, Grid, and LazyLayoutCacheWindow APIs.
AI 摘要This Kotlin roundup highlights a demo of building and publishing a multiplatform app from a single prompt using an AI coding agent, along with Kotlin Toolchain 0.14's new features like one-command iOS publishing, MCP/AGENTS.md agent setup, and over three times faster dependency resolution. It also announces a free 4-hour Kotlin Coroutines course, Kotlin's new LinkedIn page, a Kotlin Security Newsletter, Kotlin Benchmark 2.0 results for AI agents, and Kotlin 2.5.0-RC2 with name-based destructuring, an unused return value checker, and Java 28 support. Additional updates cover Exposed 1.6.0's What's New page with R2DBC support, Advent of Code 2026 for practicing Kotlin, and various community resources, videos, and contests.
AI 摘要The Kotlin team at JetBrains is launching the Kotlin Security Newsletter, a monthly digest that consolidates security fixes for Kotlin and its ecosystem (including the kotlinx libraries, Compose Multiplatform, Ktor, and Exposed), along with broader ecosystem security news affecting Android, server-side, and Kotlin Multiplatform development. The newsletter responds to a sharp rise in security updates—the team published 10 fixes this year versus one in each of the previous two years, mirroring an industry-wide trend accelerated by AI-assisted security research. Each digest will also occasionally announce community security events, and readers are asked to report vulnerabilities via the Kotlin issue tracker or security@jetbrains.com, following JetBrains' coordinated disclosure policy.