and Java's compilation strategy for lambdas. As far as I'm aware, Kotlin only supports the Java-like compilation strategy for Single Abstract Method (functional) Interfaces, not for plain Kotlin lambdas. According to the what's new this is still experimental for plain Kotlin lambdas. I have a few questions
1. Why are Kotlin lambdas not implemented as SAM interfaces? Is this to allow for reflection?
2. Why do SAM interfaces not have to worry about serializability the way Kotlin lambdas do?
I would really appreciate some input regarding this.
Thanks.
m
mcpiroman
09/28/2021, 1:57 PM
may want to ask in #compiler
r
rahulc29
09/28/2021, 2:19 PM
Thank you!
g
gammax
09/29/2021, 12:14 PM
Hey @rahulc29, can I ask you to remove your message from #feed as you moved it to #compiler?