Skip to content

Migrating from zlib to zlib-ng and concerns about compat build. #1467

Answered by Dead2
netcorefan1 asked this question in Q&A
Discussion options

You must be logged in to vote

You seem to be confused about what is compat api vs native api, or perhaps what an API is to begin with.

zlib-ng compiled in zlib compat mode results in a dll/so file that acts like it is a stock zlib, but it is the full zlib-ng under the hood, all speedups included.
zlib-ng compiled with its own api is very similar but it uses different function names to avoid linker conflicts, and we have cleaned away several old functions, macros, and are using updated datatypes, etc.

Those two are not interchangeable. An application uses the dll/so file from one or the other API.

  • If you have a bunch of old applications that don't support the zlib-ng API (If you make a linux distro for example), they…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@netcorefan1
Comment options

Answer selected by netcorefan1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants