Is it possible at this point to analyze a kotlin project using the new compiler frontend?
d
dmitriy.novozhilov
02/23/2021, 9:10 AM
Yes it is. Moreover, currently we can even compile all modules from Kotlin project (except stdlib) using FIR + JVM IR and run some tests using produced binaries (and a lot of them are successfully passing)
z
Zac Sweers
02/23/2021, 9:24 AM
how is the performance compared to PSI?
d
dmitriy.novozhilov
02/23/2021, 9:58 AM
FIR is faster than FE 1.0 in ~4 times
Total compilation pipeline (including convertation from FIR to backend IR and backend itself) faster then FE 1.0 + old backend in ~2 times
🔥 6
dmitriy.novozhilov
02/23/2021, 10:00 AM
We plan to optimize FIR and FIR2IR parts in the nearest future, and backend team will work on JVM IR performance after JVM IR will be released in 1.5