4 ms·
Sorry if I come off a bit crass. What you have is still a major improvement over people dumping all of projects like zlib and libpng in just to load in files.
by byuu 11y ago
Sorry if I come off a bit crass. What you have is still a major improvement over people dumping all of projects like zlib and libpng in just to load in files.
It's just that code complexity is probably my biggest pet peeve in programming. People often underestimate what a boon it is to avoid library dependencies. I've had so many code contributions from Windows people because all it takes to build any of my software is: "run the TDM/GCC installer, then run mingw32-make" ... the Linux/BSD mindset of "just apt-get/pkg install the dev library" doesn't work on the platform that most users and developers are on, sadly.
Whereas even I usually give up trying to build OSS that has a Windows port with a dozen dependencies.
So keep up the good work, and don't be afraid to gut some of those excess, unused functions in your own project :D
- wkoszek 11y agoNo worries. I like a direct feedback I get from HN readers and don't take it personally. Honestly I haven't analyzed miniz in detail: I found it was one of the choices, so I looked around and used it. Keeping stuff simple is very important, and it's unclear to me why they introduced anything with PNGs there. I may indeed decide to clean/replace it with something simpler.