Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abcl/1.7.0/rc/0 #223

Closed
wants to merge 8 commits into from
Closed

Abcl/1.7.0/rc/0 #223

wants to merge 8 commits into from

Conversation

easye
Copy link
Collaborator

@easye easye commented Jun 3, 2020

First release candidate for abcl-1.7.0

easye added 8 commits June 3, 2020 13:57
N.b. this patch provides Java implementation classes but does not wire
their use into the VM.

Add directAllocation() to nio BasicVector_ types,
BasicVector_IntBuffer, BasicVector_CharBuffer, and
BasicVector_IntBuffer are basically finished.

TODO Finish adding direct allocation to nio derived types.

Added implement a non-destructive version of shrink() to nio
BasicVector types.

TODO Finish adding directAllocation constructor to nio based
     (unsigned-byte 16) and (unsigned-byte 32) subclasses.  Test.
     Audit.

As the Hammer said to the Bear, "don't truss it".
BasicVector_ByteBuffer, BasicVector_CharBuffer, BasicVector_IntBuffer,
ComplexVector_ByteBuffer, ComplexArray_ByteBuffer,
SimpleArray_ByteBuffer, and SimpleArray_CharBuffer are now wired into
the Cl:MAKE-ARRAY allocation strategy.

Use Java.Buffers.AllocationStrategy enum to conditionalize use of
either arrays of primitive type or java.nio.Buffer creation strategy
for vector types.  While eventually this might be able to be changed
at runtime, currently this is a compile-time option hardwired to use
the NIO allocation strategy.
Look ma, no new symbols!

Well, if keywords aren't symbols.  We augement CL:MAKE-ARRAY to add
the keyword arguments :NIO-BUFFER and :NIO-DIRECT.
Use "abcl/nio-20200602a".

<https://github.com/armedbear/cffi/tree/abcl/easye-20200602a>.

Possibly pull and update repository to remote state.
@easye
Copy link
Collaborator Author

easye commented Jun 3, 2020

Binaries available as https://abcl.org/releases/1.7.0/

@easye easye mentioned this pull request Jun 3, 2020
@alanruttenberg
Copy link
Collaborator

Congrats on the milestone!

@easye easye mentioned this pull request Jun 4, 2020
@easye
Copy link
Collaborator Author

easye commented Jun 4, 2020

superseded by #224

@easye easye closed this Jun 4, 2020
@easye easye deleted the abcl/1.7.0/rc/0 branch October 31, 2020 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants