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

Replace zlib with miniz #316

Closed
a740g opened this issue Mar 19, 2023 · 0 comments · Fixed by #317
Closed

Replace zlib with miniz #316

a740g opened this issue Mar 19, 2023 · 0 comments · Fixed by #317
Labels
enhancement New feature or request

Comments

@a740g
Copy link
Contributor

a740g commented Mar 19, 2023

Currently, we are using zlib provided by MinGW on Windows or system libraries on other platforms.

This has a potential problem where zlib included with MinGW may be outdated and have security issues which would then get included with all QB64-PE compiled programs that use compression. Also, zlib is not included with toolchains like LLVM MinGW.

Instead, we can use miniz. It is a lighter and efficient alternative to zlib, which provides the same level of compression and decompression functionality. It has a smaller code footprint than zlib and is faster in terms of both compression and decompression speeds. This would result in faster build times, smaller executable sizes and allow us to easily move to the LLVM MinGW toolchain in the future.

Also see #313.

@a740g a740g added the enhancement New feature or request label Mar 19, 2023
@a740g a740g linked a pull request Mar 19, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant