Skip to content

zlib-ng

  • --without-unaligned improves safety; has been removed as of 2.2.3
  • configure depends on bash, but can be patched easily
  • libdeflate is faster than zlib-ng but is not a drop-in replacement for zlib
  • Use --without-vpclmulqdq for x86-64-v3 as VPCLMULQDQ is part of x86-64-v4 (AVX-512)
  • Parts of sortix’s libz made their way into zlib-ng
  • zlib-ng is api compatible with zlib when zlib-compat is used; however, it is not abi compatible meaning applications must be recompiled against it
  • Uses CHOST and CROSS_PREFIX internally?