Hacker News
Fast CVVDP implementation in C
56 points by todsacerdoti
ago
|
9 comments
password4321
|next
[-]
TIL: CVVDP is a full-reference video & image fidelity metric meant to simulate the human visual system to predict the perceived difference between two sources.
vintagedave
|previous
[-]
Interestingly it requires Zig to build. Is this becoming common for C libraries? I feel I’ve seen it a few times recently.
ozgrakkurt
|root
|parent
[-]
It uses zig as a build system instead of something like cmake
oguz-ismail2
|root
|parent
|next
[-]
Why though? It seems simple enough that a makefile and perhaps a configure script would suffice.
flohofwoe
|root
|parent
|next
[-]
> makefile and perhaps a configure script
That's a lot to ask for on a non-UNIX system like Windows, and you still also need a C/C++ toolchain (which is typically provided by a Visual Studio installation, which has neither a compatible 'make' nor 'configure').
The next-best alternative would be cmake, but that's a complex boondoggle of its own.
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.