Variable length arrays in Layouts
Tobi Ajila
atobia at ca.ibm.com
Mon Apr 11 18:19:50 UTC 2016
We have released an update to our Layout prototype which contains support
for variable length arrays (VLA) with layouts. This update allows one to
define a 'fixed header with repeating tail' VLA as specified in the VLA
spec document. The update also includes an example that demonstrates the
use of this feature. Currently, the prototype only supports VLAs with
Layout types but support for primitive types could be added in the future.
Prototype: https://github.com/J9Java/panama-layout-prototype
Example:
https://github.com/J9Java/panama-layout-prototype/tree/master/com.user.src/com/user/examples/variablelengtharray
Spec: http://j9java.github.io/panama-docs/VariableLengthArrays
Please share your thoughts.
Regards,
--Tobi
More information about the panama-spec-experts
mailing list