Kotlin 1.7.0 is out! This release brings: :dizzy:...
# announcements
Kotlin 1.7.0 is out! This release brings: ๐Ÿ’ซ Kotlin K2 compiler for JVM to Alpha. ๐Ÿ’ซ Performance improvements of the Kotlin/JVM compiler. ๐Ÿ’ซ New Gradle Incremental Compilation. ๐Ÿ’ซ OptIn annotations & Builder inference to stable. ๐Ÿ’ซ Allows implementation by delegation to inlined values of an inline class. And many other things! Learn more in the blog post and try out the new features.
๐Ÿ‘๐Ÿป 4
๐Ÿ™ 12
๐Ÿฆœ 23
๐Ÿ• 19
๐Ÿš€ 17
K 12
๐Ÿงธ 8
๐Ÿ™Œ 2
๐Ÿ™ 26
K 60
๐Ÿ’œ 16
๐Ÿ‘๐Ÿผ 2
G 8
K 62
๐Ÿ‘ 27
โค๏ธ 7
๐Ÿฅณ 114
K 12
๐Ÿ™Œ๐Ÿผ 1
Can't wait to use it as soon as Compose support arrives ๐Ÿ™๐Ÿป
โž• 20
Ooh. Can't wait to enable the k2 compiler! hopefully it improves ide perf
"The new Kotlin ะš2 compiler is in Alpha now, and it offers serious performance improvements. It is available only for the JVM, and none of the compiler plugins" Ooh. so it wont work with compose yet? or will the IDE perf still be improved even though I'm editing compose code?
Alpha of IDE plugin with K2 will be available only in 1.8 or 1.9 But AFAIK compose team already worked on porting compose to K2 Also preview of K2 compiler API most likely will be available in 1.7.20, and at this point most official JB compiler plugins will be supported
๐Ÿ‘ 6
๐Ÿ‘๐Ÿผ 1
๐Ÿ‘๐Ÿป 2
๐Ÿ‘๐Ÿพ 2
Given that compiler integration is critical to Compose, are there any major threats/opportunities for Compose on K2? For example: โ€ข Threat?: Is it a very big effort to port Compose to K2, such that we can expect not to see it for a while? โ€ข Opportunity?: Does the K2 compiler offer a more flexible API such that Compose won't be quite as hard-tied to Kotlin minor version as usual?
"Underscore operator for type arguments" it looks like the baby stage of associated types
๐Ÿ˜ฎ 4
@darkmoon_uk Compose is generally backend IR plugin with very small frontend part (few checkers, as I know), so it should be not very hard to port it to K2. Also it won't have any significant benefits of K2 frontend API because of same reason For any particular details it's better to ask Compose team directly
๐Ÿ‘ 1
๐Ÿ’ก 2
๐Ÿ‘๐Ÿผ 1
Does the K2 compiler offer a more flexible API
It will offer a more stable API, so yes, it should help Compose support more compiler versions AFAIU.
๐Ÿ™๐Ÿป 1
๐Ÿ‘๐Ÿผ 1
๐Ÿ™ 4
๐Ÿ™๐Ÿผ 1
๐Ÿ‘ 1
looks like this link โ€œincludes a number of bugfixesโ€ on the announcement is busted
Hmm. Seems an issue with tag. Will inform the team, thanks.