nowfound

Dev tools · February 7, 2024

StringZilla v3 with C++, Rust, and Swift bindings, and AVX-512 and NEON

Hi HN! I've spent the last few weeks optimizing the string operations in StringZilla. You'd be surprised how much performance GLibc and the Standard Templates Library of C++ are leaving on the table, especially on Arm and, likely, on RISC-V. I've significantly increased the number of implemented algorithms for different workloads. Searching across English texts on Arm, for example: - is 4.4x faster than STL, - and 16.8x faster in reverse order. The new version of the library now includes a C++ binding largely compatible with the C++ Standard, featuring all 17 overloads of the `replace`…

StringZilla v3 with C++, Rust, and Swift bindings, and AVX-512 and NEON launched on February 7, 2024 with 15 votes, #1,087 of 3,962 launches that month and more than 75% of that year's launches. The site was still online in September 2026, 2 years on.

In plain words

StringZilla is a string manipulation library that provides optimized implementations for C++, Rust, and Swift. It uses AVX-512 and NEON instructions to accelerate common operations like searching, sorting, and alignment scoring beyond standard library performance. The library is designed for developers working with text processing who need faster string operations, particularly on ARM and RISC-V architectures.

written from the facts on this page · September 2026

From the sources

Up to 100x faster strings for C, C++, CUDA, Python, Rust, Swift, JS, & Go, leveraging NEON, AVX2, AVX-512, SVE, GPGPU, & SWAR to accelerate search, hashing, sorting, edit distances, sketches, and memory ops 🦖 - Release StringZilla v3: with bindings for C++, Rust, and Swift, AVX-512 acceleration, Levenshtein distances & Needleman-Wunsch scores, faster sorting and rolling fingerprints · ashvardania

...and of course, a rant about STL , and a new meme . Check out the README.md for a much longer list of features, benchmarks, algorithmic design decisions, and open questions 🤗 Current StringZilla design assumes little-endian architecture, ASCII or UTF-8 encoding, and 64-bit address space. This covers most modern CPUs, including x86, Arm, RISC-V. Feel free to open an issue if you need support for other architectures. 🌳 parts are used in production. 🧐 parts are in beta. 🚧 parts are under active development, and are likely to break in subsequent releases. If you've ever used the Python str or bytes class, you'll know what to expect. StringZilla's Str class is a hybrid of those two,…from github.com

In the maker’s words, at launch

Hi HN! I've spent the last few weeks optimizing the string operations in StringZilla. You'd be surprised how much performance GLibc and the Standard Templates Library of C++ are leaving on the table, especially on Arm and, likely, on RISC-V. I've significantly increased the number of implemented algorithms for…

Does a similar job

all alternatives →
  • SuperString – A fast and memory-optimized string library for C++2018 · github.com · ▲52

    A fast and memory-optimized string library for C++ - btwael/SuperString

  • GPT‑5.3‑Codex‑SparkFeb 2026 · openai.com · ▲277

    An ultra-fast model for real-time coding in Codex

  • RapidFuzz – A fast string matching library for Python2020 · github.com · ▲134

    Rapid fuzzy string matching in Python using various string metrics - rapidfuzz/RapidFuzz

  • A Fast, Malloc-Free C++14 Json Parser and Encoder2014 · github.com · ▲98

    Meta programming utilities for C++14. Merged in matt-42/lithium - matt-42/iod

  • LoopMix128 – Fast C PRNG (.46ns), 2^128 Period, BigCrush/PractRand Pass2025 · github.com · ▲76

    LoopMix128 is a fast C PRNG I wrote for non-cryptographic tasks. GitHub (MIT): https://github.com/danielcota/LoopMix128 Highlights: * ~0.37 ns/value (GCC 11.4, -O3 -march=native), 98% faster than xoroshiro128++ and PCG64. * Passes TestU01 BigCrush & PractRand (32TB). * Guaranteed 2^128 period. * Proven injective (192-bit state) via Z3 SMT solver; allows parallel streams. * Core requires only stdint.h. Seeking feedback on design, use cases, or further testing.

  • Faking SIMD to Search and Sort Strings 5x Faster2023 · ashvardanian.com · ▲29

    I want to share a really dumb, but very practical project I have packaged this summer, to perform operations on strings much faster. I was using Python to work with a multi-terabyte newline-delimited file. Reading, splitting, and shuffling it was a nightmare. So, I wrapped a trivial hardware-friendly heuristic I've been using for the last few years into a CPython library. The part I enjoyed the most is implementing SIMD behavior without SIMD instructions... Using 64-bit words to work at 8-bit granularity. Unlike conventional SIMD, the code would remain the same for ~~almost~~ any hardware.…

More dev tools this month

the category →
  • /dev/null▲490

    a social network for devs

    Dev tools · 4d ago · dev-null.sh

  • Contribute to oosexgang/hackios-xnu-kernel development by creating an account on GitHub.

    Dev tools · 18h ago · github.com

  • open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.

    Dev tools · 29d ago · github.com

  • Contribute to reladraw/reladraw development by creating an account on GitHub.

    Dev tools · 27d ago · github.com

  • OpenBot▲362

    Grok Bot alternative: free, local, open-source, multiplayer

    Dev tools · 24d ago · openbot.run

  • Talanoa▲346

    Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…

    Dev tools · 22d ago · talanoa.email

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, February 2024

the whole month →
  • Flipner AI▲1,623

    Capture your ideas & craft texts with AI's touch

    AI · 2024 · flipner.webflow.io

  • Typeframes▲1,315

    Video creation for makers

    Work · 2024 · revid.ai

  • Superlist▲1,252

    The task layer for your AI agents

    Work · 2024 · superlist.com

  • Never run out of marketing ideas ever again

    Growth · 2024 · marketingideas.com

  • Layers▲1,198

    A home for designers

    Work · 2024 · layers.to

  • Heyday▲1,178

    AI copilot for your own research, notes & conversations

    AI · 2024 · heyday.xyz