Hello, I’m Hashim, a mobile application developer ...
# gsoc
m
Hello, I’m Hashim, a mobile application developer with experience building apps using Flutter and Kotlin. I’m interested in contributing to tail call support project for Kotlin/Wasm. I’ve done some analysis in the repository (https://github.com/JetBrains/kotlin), spotting things like missing calls and opcodes by analyzing relevant Wasm code (WAT files). To go deeper, I’ve been trying to debug the Wasm compiler to trace its control flow and it’s mechanics, and I have a few questions: 1. Can I debug the Kotlin/Wasm backend in the same way I’d debug a regular Kotlin app? 2. I’ve managed to debug with compile options using JDWP to grasp the mechanics, but is this feasible for Wasm or KMP targets? 3. Are there preferred benchmarking or optimization tools for profiling, or does using browser dev tools suffice? 4. Is tail recursion always lowered to loops in the Wasm backend, or are there edge cases? I’ve noticed direct tail calls get converted to loops. 5. Are there any upcoming refactorings in the Wasm backend that contributors should know about before adding new optimization passes? Would love to have any pointers or discussions on this… Thanks. Hashim
kodee greetings 1