3 ms·
Does seem to go counter to a long standing culture of "let the VM decide" that has dominated in the JVM landscape for a while. I will be curious to see how thi
by taeric 13y ago
Does seem to go counter to a long standing culture of "let the VM decide" that has dominated in the JVM landscape for a while.
I will be curious to see how this affects code targeting android and friends.
- pron 13y agoNot quite. Unlike C# structs, this is not a memory-layout choice, but a semantic choice. Value types have specific semantics: immutable, atomic, non-extendable etc. It is up to the VM to choose how to lay them out in memory, but an on-stack/inlined-in-array storage would be possible.
- taeric 13y agoOh, I miss understood and thought this was just about the memory layout problem. Oops. :)