C++ string-manipulation

Open-source C++ projects categorized as string-manipulation

Top 7 C++ string-manipulation Projects

  • algorithms_and_data_structures

    180+ Algorithm & Data Structure Problems using C++

  • 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=...

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

  • 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

  • stralgo

    constexpr number <-> string convertions with full support of unterminated string views, utf convertion

  • static_string

    Experimental compile-time string manipulation C++17 library

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

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-manipulation related posts


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

Project Stars
1 algorithms_and_data_structures 5,755
2 StringZilla 1,730
3 tiny-utf8 534
4 text 395
5 StrTk 125
6 stralgo 8
7 static_string 2
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives