-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moving to Kotlin 2 (once 2.0.20 is released) #153
Comments
Probably in 3/4 months? We can already try out K2 tho. |
Just compiled/tested with K2, all good! |
Great! |
I guess with Kotlin 2, the K2 compiler is enabled by default, right? |
Yes, exactly. K1 will be available for some minor versions IIRC (e.g., 2.2), so there is no rush in case of issues (which we don't have anyway). |
Will the generated code improve with K2? This comment seems to hint at it. |
@sschuberth in this specific case we might benefit of future language capabilities, but the main improvement is a bit of speed up when building. No changes for generated code, but in case you can be more specific and I can try to answer. |
I've tested Beta4 today with the K2 IDE. |
Now Kotlin 2.0.0 has been released, so we could check the situation and decide if we want to move to K2 using API 1.9 |
I've been observing the situation since beta versions. My advice is to wait until 2.0.20. That's what most issues, and they are a lot, are targeting. |
Noted, thank you |
Like, stuff like KT-68538 needs to be fixed before considering an update to 2.0+. |
2.0.20-Beta1 should be out mid next week. |
Kotlin 2 is coming, bringing benefits to the multi-platform projects.
Current versions of Kotlin 2 (Kotlin 2.0.0-Beta3 as of now) cannot be used in production, but we may start running experiments to see if there are issues with the Kotlin 2 compiler. In my experience with other projects the migration was rather smooth, but this is a project supporting many platforms and perhaps there could be more suprises.
The text was updated successfully, but these errors were encountered: