spierce7
03/17/2018, 9:46 PMolonho
03/18/2018, 9:12 AMspierce7
03/18/2018, 9:33 PMfrozen data class SharedData(val string: String, val int: Int, val member: SharedDataMember)
The current api has it's own merits, but being able to declare a data class as frozen
/ immutable would be a nice addition as well. Are there downsides to building it into the class definition in addition to the approach currently implemented?
What is the plan to integrate this with common projects so that we can write common code that works properly with kotlin/native's threading model, and in Java / JS as well?msink
03/19/2018, 12:25 AMconst
already exists and means exactly that - immutability.olonho
03/19/2018, 7:20 AMmsink
03/19/2018, 8:47 AMconst
classes can be placed in read-only memory, and without reference countiong.olonho
03/19/2018, 11:17 AMspierce7
03/19/2018, 1:09 PMolonho
03/19/2018, 1:24 PMspierce7
03/19/2018, 1:55 PM