mdedetrich commented on issue #2404: URL: https://github.com/apache/pekko/issues/2404#issuecomment-3450106736
> > Doing this requires using [luben/zstd-jni](https://github.com/luben/zstd-jni?rgh-link-date=2025-10-27T07%3A35%3A18.000Z), which uses the standard reference C library via JNI (unfortunately there is no such implementation in native Java and even if there would be I am not sure it would be as fast as the C one). > > There is at https://github.com/airlift/aircompressor According to their readme > This library requires a Java 22+ virtual machine containing the sun.misc.Unsafe interface running on a little endian platform. So I don't think it can be used as Pekko 2.0.x supports JVM 1.7 or older. Another alternative would be to only release an interface for zstd compression/decompression and there is a separate artifact for the implementation which can be zstd-jni or airlift (or anything else) but that this to me is a bit of overengineering but I can be convinced otherwise. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
