https://kotlinlang.org logo
#compiler
Title
# compiler
j

Johann Beleites

12/03/2021, 1:57 PM
I am using the embeddable Kotlin compiler to analyze code and obtain the
BindingContext
. Now this takes quite a while and I know the compiler is doing a lot of work in that time. Is it possible to run the compiler multi-threaded, so that I can make use of multiple cores when available and hence speed up the analysis?
d

dmitriy.novozhilov

12/03/2021, 4:40 PM
Not yet Multithread ananylysis is a part of K2 compiler (and FIR frontend) which is not ready yet
👍 2
j

Johann Beleites

12/03/2021, 4:55 PM
Thanks for the info - looking forward to K2 even more now!
10 Views