• Stable v1.0.0r 79ba15ecd2

    Rust port

    flanchan released this 3 years ago | 7 commits to rust since this release

    Rust rewrite

    All functionality has been ported to the rust version.
    To build it from the root of the repo, run make rs, the optimised and stripped output binary will be fcmp-rs.

    Debug targets

    To build a debug binary, run make debug in the fcmprs directory, or by invoking Cargo directly.
    The output will be target/debug/fcmprs from the fcmprs directory.

    Threading

    By default the threaded strategy is compiled into the binary. Set FEAT_RUST variable to disable this.

    PGO

    Due to LLVM issues, PGO on the Rust version is broken at the moment.

    You can try it with cd fcmprs && make debug if you want.

    Performance

    Crude profiling has suggested that the Rust version performs almost exactly the same as the C version when comparing large numbers of identical files. The C version slightly outperforms the Rust one is some other cases.

    Downloads