What version of Kotlin are we going to see a compi...
# kotlin-native
s
What version of Kotlin are we going to see a compiler plugin API that is public across all Kotlin compilers?
g
I wouldn't expect it soon, until JVM and JS backends will not use new IR backend
e
Yes. All backends on IR first, only then compiler plugins API might start stabilizing.
s
IR?
g
Internal Representation
Layer of abstraction on backend that compiles code to internal representation that than compiled to platform specific output and, as I understand, compiler plugins API will allow to change this IR
s
Will adding an additional layer of abstraction slow down compilation?
g
Not sure is that an additional layer it replacement of existing code that different for each backend
Actually this should help with some optimizations, you implement them only once for all backends