Re:Zlib-ng: a performance-oriented fork of zlib
by realityking on Friday June 05, 2015 @01:39PM
(#9666794)
That's mostly because of Microsoft's horribly outdated C-compiler
Why would anyone use VS to compile cross-platform C on Windows when there's MinGW (and clang-cl)?
Re:Zlib-ng: a performance-oriented fork of zlib
by comex on Friday June 05, 2015 @02:20PM
(#9667072)
Debug info, ubiquity, simplicity of combining with an otherwise VS based project.
At least VS now supports most of C99. Most. Now about that C11...
Having code that's easy to integrate with existing projects is definitely a really good thing, and I honestly don't like to neglect Windows, but with all due respect, the platform kind of does it to itself.
C11 would be really nice to see as an LCD, especially for threading (or even just a native POSIX threads implementation).
Re:Zlib-ng: a performance-oriented fork of zlib
by comex on Friday June 05, 2015 @03:28PM
(#9667565)
I was more thinking of language features. threads.h would be nice, but, as you may know, despite it being a pretty simple API, neither glibc nor OS X libc has implemented it - there's only musl and then compatibility shims. Sigh. You could blame a lack of demand, but I'd call that chicken and egg: the whole advantage of it over pthreads in theory is portability due to standardization, but as long as the portability remains theory, so does the advantage.
Maybe there are tradeoffs or platforms I'm just not aware of, but I at least tend to use C99 as the LCD.