Quick question: does kotlin/native still allocate all objects on the heap or does it take more of a stack based approach like in languages such as Go and only escape to the heap if necessary?
d
Dominaezzz
12/16/2018, 12:09 PM
At the moment all objects go on the heap. Once they improve static analysis, some objects will go on the stack if possible.
s
Strum355
12/17/2018, 2:06 AM
Okay, hope they get to that stage. And the JVM version will stay with keeping all objects on the heap, right?