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`…
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
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 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` function. It also gained bindings for Rust and Swift. On the functionality side, it can now compute Levenshtein distances and Needleman-Wunsch alignment scores using AVX-512. It can generate random strings with a fair, uniform distribution without integer divisions. It can sort strings and compute rolling hashes. It has lazily evaluated ranges to avoid memory allocations on bulk search and split operations over large datasets, which is very common in modern AI pre-training experiments. I wrote over 60KB of English text in the README about all the new bells and whistles, so repeating the whole text here probably doesn't make sense. I've also listed several "good first issues" on GitHub in case someone wants to contribute - it may be a good learning opportunity. Lastly, I'll organize more hackathons for systems engineers in the SF Bay Area. LLM wrappers are fun, but the world needs infra. So, if you are around, join and let's build the future together :)
More dev tools this month
the category →



Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 2d ago · opentrailpaper.com

Launched alongside, February 2024
the whole month →


MarketingIdeas.com▲1,230Never run out of marketing ideas ever again
Growth · 2024 · marketingideas.com

