Question for the team working on the compiler, spe...
# compiler
z
Question for the team working on the compiler, specifically the new IR backend. Rewriting a compiler backend seems like a huge undertaking, and requires accounting for tons of edge cases in real-world code. Is the team using any real-world codebases to validate? I work on an open source codebase that uses a lot of generics, and I’m finding quite a few bugs with the IR backend. I am happy to keep testing out dev versions and reporting bugs as they come out, but I’m wondering if there would be any interest from anyone on the team to build the project themselves to iterate more quickly? If so, I can provide a branch that builds without IR but fails with IR turned on as a starting point, as well as whatever other support would be helpful.
❤️ 5
d
cc @Roman Artemev [JB]
r
Hi, nice to hear you are trying IR-based compilers 🙂 Yes, exactly, we are building anything (kotlinx.*, jb project, kotlin OS project and so on) we could with new compiler and already found a lot of bugs. It would be very great if you create an issue in YT with branch and short instruction to let us take a look. Thank you in advance for your collaboration
👍 1
z
Will do!
👍 1
I just filed https://youtrack.jetbrains.com/issue/KT-42075 with instructions for cloning and building the project.
👍 2
🙏 1
Please reach out to me or @Ray Ryan if you run into any issues with the codebase, or have any other questions.
👌 1
1
l
kotlin OS project
You mean third party OSS projects using Kotlin, or a Kotlin based Operating System simply codenamed Kotlin OS? 👀
🧌 1
1️⃣ 1