Stories

  1. Image: JetBrains Kotlin

    Kotlin Foundation's Google Summer of Code projects improve Kotlin/Wasm recursion support

    Two projects completed through the Kotlin Foundation’s Google Summer of Code 2026 program, including work on recursion support in the Kotlin/Wasm backend. Ayako Hayasaka added support for WebAssembly tail-call instructions, allowing the compiler to detect tail-position calls and emit return_call or return_call_ref. In her benchmarks, several recursive patterns ran 1.7–4.3 times faster at a recursion depth of 10,000; at one million, the programs crashed without tail calls and completed with them.

Topics

Publishers