C++ String

Open-source C++ projects categorized as String

Top 8 C++ String Projects

  • StringZilla

    Up to 10x faster strings for C, C++, Python, Rust, and Swift, leveraging SWAR and SIMD on Arm Neon and x86 AVX2 & AVX-512-capable chips to accelerate search, sort, edit distances, alignment scores, etc 🦖

  • Project mention: Measuring energy usage: regular code vs. SIMD code | news.ycombinator.com | 2024-02-19

    The 3.5x energy-efficiency gap between serial and SIMD code becomes even larger when

    A. you do byte-level processing instead of float words;

    B. you use embedded, IoT, and other low-energy devices.

    A few years ago I've compared Nvidia Jetson Xavier (long before the Orin release), Intel-based MacBook Pro with Core i9, and AVX-512 capable CPUs on substring search benchmarks.

    On Xavier one can quite easily disable/enable cores and reconfigure power usage. At peak I got to 4.2 GB/J which was an 8.3x improvement in inefficiency over LibC in substring search operations. The comparison table is still available in the older README: https://github.com/ashvardanian/StringZilla/tree/v2.0.2?tab=...

  • xorstr

    heavily vectorized c++17 compile time string encryption.

  • 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
  • Obfuscate

    Guaranteed compile-time string literal obfuscation header-only library for C++14 (by adamyaxley)

  • tiny-utf8

    Unicode (UTF-8) capable std::string

  • Project mention: tiny-utf8 VS codepoint-iterator - a user suggested alternative | libhunt.com/r/tiny-utf8 | 2023-06-04
  • text

    Haskell library for space- and time-efficient operations over Unicode text. (by haskell)

  • Project mention: Super Colliding Nix Stores: Nix Flakes for Millions of Developers | news.ycombinator.com | 2023-05-25
  • StrTk

    C++ String Toolkit Library https://www.partow.net/programming/strtk/index.html

  • StrToNum

    String to Number conversion constexpr library, for char and wchar_t strings.

  • 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
  • static_string

    Experimental compile-time string manipulation C++17 library

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-02-19.

C++ String related posts


What are some of the best open-source String projects in C++? This list will help you:

Project Stars
1 StringZilla 1,749
2 xorstr 1,057
3 Obfuscate 969
4 tiny-utf8 534
5 text 395
6 StrTk 125
7 StrToNum 18
8 static_string 2

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives