sliceslice-rs VS volk

Compare sliceslice-rs vs volk and see what are their differences.

sliceslice-rs

A fast implementation of single-pattern substring search using SIMD acceleration. (by cloudflare)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
sliceslice-rs volk
2 2
87 512
- 2.1%
5.9 8.9
3 months ago 29 days ago
Rust C++
MIT License GNU Lesser General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

sliceslice-rs

Posts with mentions or reviews of sliceslice-rs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-05-03.
  • Memchr 2.4 now has an implementation of substring search on arbitrary bytes
    7 projects | /r/rust | 3 May 2021
    Aside from that, their SIMD implementation is better optimized than the one I wrote. Aside from the codegen problem I talked about on that PR, sliceslice does better with its confirmation step by specializing calls to memcmp for all needles up to length 16. This repeats the entire implementation 16 times or so (for each of SSE2 and AVX2, so 32 in total I believe), but lets the memcmp call be a bit better than a generic one. We could do the same in memchr, but I wanted to see how much mileage we could get with fewer copies of the code and a lower latency implementation of memcmp.

volk

Posts with mentions or reviews of volk. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-03.
  • RISC-V Business: Testing StarFive's VisionFive 2 SBC
    3 projects | news.ycombinator.com | 3 Mar 2023
    I wonder how much of the performance will improve when compilers get better at RISC-V.

    It's been a long time since I could beat the compiler at optimizing assembly on x86, yet in the end merely unrolling a loop and keeping an eye on write-read stalls I managed to get a simple "multiply array by const" about 56% faster:

    https://github.com/gnuradio/volk/pull/619

    And that's with hardware that doesn't even have vector instructions! I'd understand GCC not supporting that yet.

    Some other quickstart docs and hot takes from me on this hardware: https://blog.habets.se/2023/01/VisionFive-2-quickstart.html

  • AVX/AVX-512 Tuning Doesn't Payoff for LibreOffice's Calc Spreadsheets
    1 project | news.ycombinator.com | 11 Feb 2022

What are some alternatives?

When comparing sliceslice-rs and volk you can also consider the following projects:

regex-automata - A low level regular expression library that uses deterministic finite automata.

xsimd - C++ wrappers for SIMD intrinsics and parallelized, optimized mathematical functions (SSE, AVX, AVX512, NEON, SVE))

nsimd - Agenium Scale vectorization library for CPUs and GPUs

riscv-profiles - RISC-V Architecture Profiles

regex - An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.

highway - Performance-portable, length-agnostic SIMD with runtime dispatch

rust-memchr - Optimized string search routines for Rust.

linux-on-litex-vexriscv - Linux on LiteX-VexRiscv