hypergrep: A new "fastest grep" to search directories recursively for a regex pattern

This page summarizes the projects mentioned and recommended in the original post on /r/cpp

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Vcpkg

    C++ Library Manager for Windows, Linux, and MacOS

  • CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message): Command failed: /usr/bin/cmake --build . --config Debug --target install -- -v -j25 Working Directory: /opt/vcpkg/buildtrees/hyperscan/x64-linux-dbg See logs for more information: /opt/vcpkg/buildtrees/hyperscan/install-x64-linux-dbg-out.log Call Stack (most recent call first): installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process) installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build) ports/hyperscan/portfile.cmake:22 (vcpkg_cmake_install) scripts/ports.cmake:147 (include) error: building hyperscan:x64-linux failed with: BUILD_FAILED Please ensure you're using the latest port files with `git pull` and `vcpkg update`. Then check for known issues at: https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+hyperscan You can submit a new issue at: https://github.com/microsoft/vcpkg/issues/new?title=[hyperscan]+Build+error&body=Copy+issue+body+from+%2Fopt%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md You can also sumbit an issue by running (GitHub cli must be installed): gh issue create -R microsoft/vcpkg --title "[hyperscan] Build failure" --body-file /opt/vcpkg/installed/vcpkg/issue_body.md

  • hyperscan

    High-performance regular expression matching library

  • The hyperscan build error appears to be related to glibc. See https://github.com/intel/hyperscan/issues/344#issuecomment-1006287206 and https://github.com/intel/hyperscan/issues/359. There even appears to be a patch that was written, but hasn't been applied?

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • linux

    Linux kernel source tree

  • The following searches are performed on the entire Linux kernel source tree (after running make defconfig && make -j8). The commit used is f1fcb.

  • swift

    The Swift Programming Language

  • The following searches are performed on the entire Apple Swift source tree. The commit used is 3865b.

  • ripgrep

    ripgrep recursively searches directories for a regex pattern while respecting your gitignore

  • Why are you using a version of ripgrep that was released almost 4 years ago? Why not use the latest version of ripgrep?

    Hi, In the scope of my bachelors, I have implemented a C++ library for fast external string search (https://github.com/lfreist/x-search). In order to benchmark its multi threading capabilities when searching single large files, I have implemented a basic grep like program that uses x-search (https://github.com/lfreist/xsgrep) which only supports searching a single pattern in a single file for now. However, it might me worth taking this into account for your single file benchmarks :)

  • xsgrep

    A grep like command line text search tool implemented using x-search library

  • Hi, In the scope of my bachelors, I have implemented a C++ library for fast external string search (https://github.com/lfreist/x-search). In order to benchmark its multi threading capabilities when searching single large files, I have implemented a basic grep like program that uses x-search (https://github.com/lfreist/xsgrep) which only supports searching a single pattern in a single file for now. However, it might me worth taking this into account for your single file benchmarks :)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts