Releases: TehLeo/junion
Releases · TehLeo/junion
JUnion 1.2.2 EA (Early-Access)
Content:
- junion1.2.2.jar is the runtime library
- junionc1.2.2.jar + libs are used for compiling only
Changes:
- can allocate struct arrays on heap, off-heap, stack, the syntax uses annotation, eg:
Vec3[] arr = new Vec3[10]; //default currently allocates on heap
Vec3[] arr = new @Heap Vec3[10];
Vec3[] arr2 = new @Direct Vec3[10];
Vec3[] arr4 = new @DirectBuffer Vec3[10];
Vec3[] arr5 = new @Stack Vec3[10];
Vec3[] arr7 = new @Heap(ArrayType.Byte) Vec3[10]; //underlying data is Java byte[] array
- the underlying storage can be retrieved as Java array/Buffer with
Mem.getJavaArray(arr)
andMem.getJavaBuffer(arr)
- added StructType class, which can be used to find information about a struct
- added StructList, which serves as a resizable struct array, it stores its elements as data not as references (not yet finished)
- Array allocation is done through ArrayAllocator interface and can be customized by the user if needed
- Bridge interface serves as the link between the application and ram. The default bridge interface DefaultBridge uses Unsafe to read and write memory.
- added MemInit class which stores related settings, such as setting the bridge interface, allocator interface to use, etc.
sha512sum
a9ba4a69e72e84ae995c3d60f86250526a17e9f600180bdca6b8c3f26c1a27800488f315b09f38b138e4b72e5da9b654f963f0585c788b75a801db0918067e6a
JUnion 1.2.1
Content:
- junion1.2.jar is the runtime library
- junionc1.2.jar + libs are used for compiling only
Changes:
- adds support for multidimensional arrays
- adds support for pre,post increment operators for struct type members (eg.: v.i++)
- adds support for assignment operators for struct type members (eg.: v.i += 5)
- fixed path issue
- fixed class fields & initializers which were not compiled with junion
sha512sum
880f846b35edafaf04f21b54c12b8e9e5c97c272d6e506620c93f5d8f93d2fe4f121197fc447165d65d9c9ffb767a92fca70e4629cd9188d2563bdebe36fd518 junion1.2.1.zip
JUnion 1.1.1
JUnion v1.0
JUnion version 1.0.2
-added generics support
sha512: fd21aab18d124d46c9f6686403b0943ebcb2716942a7a619e5c839e01c0ffb3b5ccfc778cc3f6443ddd61227c86c75d7e883cd05ede0783c3efb2b993e7460f5 junion1.0.2.zip