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

Leverage changes from the V2 incubator API? #7

Open
LifeIsStrange opened this issue Nov 19, 2021 · 1 comment
Open

Leverage changes from the V2 incubator API? #7

LifeIsStrange opened this issue Nov 19, 2021 · 1 comment

Comments

@LifeIsStrange
Copy link
Contributor

LifeIsStrange commented Nov 19, 2021

https://openjdk.java.net/jeps/414
The JEP mention improvements such as:

Enhancements to the API to support operations on characters, such as for UTF-8 character decoding. Specifically, we add methods for copying characters between short vectors and char arrays, and new vector comparison operators for unsigned comparisons with integral vectors.

I have no idea whether this is directly useful or not for this lib :)
@AugustNagro friendly ping

@AugustNagro
Copy link
Owner

Thanks for the ping @LifeIsStrange

Is this the latest javadocs or is there a newer link?

I don't think java character ops will help with UTF8 validation, but maybe the java simd-json port can use them.

I'm waiting to try porting simd-json until the api and performance stabilizes more. Since Oracle said the Vector api depends on Project Valhalla (Java's value type / structs), it's going to be a few years...

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

No branches or pull requests

2 participants