Velocity/native
2018-08-04 00:09:25 -04:00
..
src Refactor cipher logic. 2018-08-04 00:09:25 -04:00
build.gradle JNI native zlib compression 🔥 2018-08-01 22:22:09 -04:00
compile-linux.sh Cleaned up native code. 2018-08-02 00:43:38 -04:00
compile-osx.sh Cleaned up native code. 2018-08-02 00:43:38 -04:00
README.md JNI native zlib compression 🔥 2018-08-01 22:22:09 -04:00

velocity-natives

This directory contains native acceleration code for Velocity, along with traditional Java fallbacks.

Compression

  • Supported platforms: macOS 10.13, Linux amd64 (precompiled binary is built on Debian 9 with JDK 8)
  • Rationale: Using a native zlib wrapper, we can avoid multiple trips into Java just to copy memory around.

Encryption

  • No natives available yet, this will use the support inside your Java install.

OS support

If you are on Alpine Linux, apk add libc6-compat will enable native support.