🤖 Kotlin 1.8 Boosts Reflection Speed

Tom Smykowski
2 min readDec 31, 2022

Kotlin 1.8 was released on 18th of December 2022. The most important improvement is faster reflection.

Reflection is a mechanism to access the information about the code from the code itself. Reflection is available in multiple programming languages.

Kotlin documentation defines it as follows:

Reflection is a set of language and library features that allows you to introspect the structure of your program at runtime.

For example, you can use reflection to learn the name of the class of an object:

It is an advanced coding technique that allows you to write applications on a higher level of abstraction.

Kotlin 1.8 comes also with other interesting features described in the link below.

Bonus

Read what’s new in Kotlin 1.7.20 about three interesting feature requests and 5 interesting projects written in Kotlin.

Kotlin Flashcards

Great news for you! I have just announced Kotlin Flashcards! I am happy because the new Summon The JSON deck is awesome, it is also a card game you…

--

--

Tom Smykowski
Tom Smykowski

Written by Tom Smykowski

Software Engineer & Tech Editor. Top 2% on StackOverflow, 3mil views on Quora. Won Shattered Pixel Dungeon.