1. 9

  2. 4

    Honest question: Why are C programmers so keen about libraries being within one single source file? I guess it’s great if a library is simple and small, but a single file can also be very big…

    1. 3

      Probably because of the lack of a package and dependency management system.

      1. 2

        After having experience with old software and pip (Specifically trying (and failing) to get OsChameleon up and running) I feel safer knowing that a tarball of my code will build and work forever given POSIX 2008 is supported, and a good C compiler. Introducing package management systems into a programming language to me feels like a disgusting half-baked replication of a problem that is already ideally solved for 99% of linux systems.

    2. 3

      The main changes since 0.4.0 (the last time it was posted here):

      • The library is continuously fuzzed by OSS-Fuzz
      • Optimizations for x86 is no longer an external patch
      • Source code amalgamation

      There’s also benchmarks (bottom of page) between spng, libpng, stb_image, and lodepng.

      1. 1

        How I can get dictionary (and)or modyfi it?

        Stories with similar links:

        1. libspng v0.5.0 - simple libpng alternative, up to 35% faster authored by randy408 7 months ago | 21 points | 4 comments
        2. libspng 0.4.0 - First stable release authored by randy408 1 year ago | 13 points | 3 comments