2 comments

  • password432140 days ago
    TIL: <i>CVVDP is a full-reference video &amp; image fidelity metric meant to simulate the human visual system to predict the perceived difference between two sources.</i>
  • vintagedave39 days ago
    Interestingly it requires Zig to build. Is this becoming common for C libraries? I feel I’ve seen it a few times recently.
    • ozgrakkurt39 days ago
      It uses zig as a build system instead of something like cmake
      • oguz-ismail239 days ago
        Why though? It seems simple enough that a makefile and perhaps a configure script would suffice.
        • flohofwoe39 days ago
          &gt; makefile and perhaps a configure script<p>That&#x27;s a lot to ask for on a non-UNIX system like Windows, and you still also need a C&#x2F;C++ toolchain (which is typically provided by a Visual Studio installation, which has neither a compatible &#x27;make&#x27; nor &#x27;configure&#x27;).<p>The next-best alternative would be cmake, but that&#x27;s a complex boondoggle of its own.<p>PS: also the toplevel cmdline tool seems to be written in Zig, which might be more convenient than C just because of the Zig stdlib.
          • greenavocado39 days ago
            That&#x27;s surprising to me because Meson&#x2F;Ninja C project configuration is generally just a handful of lines of text and I can&#x27;t imagine it getting much simpler than that
            • flohofwoe33 days ago
              ...just installing Meson on Windows is so complicated it has its own special section in the documentation ;)<p><a href="https:&#x2F;&#x2F;mesonbuild.com&#x2F;Getting-meson.html" rel="nofollow">https:&#x2F;&#x2F;mesonbuild.com&#x2F;Getting-meson.html</a>
        • ginko39 days ago
          Yeah this feels like it could be packed into a pair of .c source file and header.
        • ozgrakkurt39 days ago
          It is just a tool so I guess they already know it and it is good enough.<p>I also know zig build system really well but learning cmake now. I might have used zig too if I had to build something right now
      • wakawaka2839 days ago
        [flagged]