top | item 45480477 (no title) ysleepy | 4 months ago A float[] is packed and not a list of pointers in the jvm.An ArrayList<Float> is a list of pointers though. discuss order hn newest grumpyprole|4 months ago Arrays have a static fixed size though, making them far less useful in practice. Anything one builds with generics is boxed. Dotnet doesn't have this problem. pjmlp|4 months ago Currently you can get around this with Panama, even if the API is kind of verbose for the purpose.Eventually value classes might close the gap, finally available as EA. load replies (1)
grumpyprole|4 months ago Arrays have a static fixed size though, making them far less useful in practice. Anything one builds with generics is boxed. Dotnet doesn't have this problem. pjmlp|4 months ago Currently you can get around this with Panama, even if the API is kind of verbose for the purpose.Eventually value classes might close the gap, finally available as EA. load replies (1)
pjmlp|4 months ago Currently you can get around this with Panama, even if the API is kind of verbose for the purpose.Eventually value classes might close the gap, finally available as EA. load replies (1)
grumpyprole|4 months ago
pjmlp|4 months ago
Eventually value classes might close the gap, finally available as EA.