Crash Course on the Kotlin Compiler by Amanda Hinchman-Dominguez

preview_player
Показать описание

Whether you’re learning about writing compiler plugins, learning about the data structures/algorithms in real-life scenarios, or maybe just wondering why that little red squiggly shows up in your IntelliJ IDE, learning about the Kotlin compiler is your answer to all the above.

Let’s face it - learning about the Kotlin compiler is hard. Luckily, being able to look through various plugins can give insight to how the Kotlin compiler processes data at every phase, from human-readable Kotlin code to machine-readable bytecode. This session intends to expose Kotlin compiler functionality through reverse engineering compiler plugins and all the phases a plugin may intercept, giving us a conceptual, high-level overview what the the Kotlin compiler looks like.

The audience will hitch a ride with the source code fed through the phases of the Kotlin compiler to observe its transformations and optimizations frontend-to-backend: no better way to learn than going in deep!

Talk by: Amanda Hinchman-Dominguez

#K2 #KotlinConf
Рекомендации по теме
Комментарии
Автор

Thank you for the really great crash course! I didn't have a clue how compiler plugin works and know I have some conceptual understanding where things could be manipulated or injected in. And that it's really more a pipe of compilers and transformations then a single unit.

gewusst-vim
Автор

This is a great presentation. I'm so happy to have bumped into this presentation. I was looking for resources about the K2 compiler so that I could understand in general how it works. Amanda explains it in a great way. I can't say I understood all of this presentation but it is much more than what I expected to find. Very good!

jesprotech