Library

simdutf v9.5.0

Versionv9.5.0
Stars★ 2,035
Released2026-11-24

Unicode routines (UTF8, UTF16, UTF32) and Base64: billions of characters per second using SSE2, AVX2, NEON, AVX-512, RISC-V Vector Extension, LoongArch64, POWER. Part of Node.js, WebKit/Safari, Ladybird, Chromium, Cloudflare Workers, Ghostty and Bun.

Release notes

## What's Changed
* validate_utf8: stop early on invalid input by @lemire in https://github.com/simdutf/simdutf/pull/1094
* Fix unused-code warnings and RVV build errors in reduced-feature builds; enforce in CI on all architectures by @lemire in https://github.com/simdutf/simdutf/pull/1092
* Use the SIMD ASCII tail in convert_valid_utf8_to_* by @lemire in https://github.com/simdutf/simdutf/pull/1102
* icelake base64: count trailing whitespace as read in only_full_chunks mode by @lemire in https://github.com/simdutf/simdutf/pull/1099
* Mark large stack buffers as indeterminate for C++26 by @lemire in https://github.com/simdutf/simdutf/pull/1098
* base64: fast path for fixed-length lines (icelake, arm64) by @lemire in https://github.com/simdutf/simdutf/pull/1100
* Document that UTF-8 length functions give a safe buffer size on invalid input by @lemire in https://github.com/simdutf/simdutf/pull/1103
* x86: avoid cache-line-split loads in validation and length functions by @lemire in https://github.com/simdutf/simdutf/pull/1101
* Assert that invalid UTF-8 conversions do not write past the length bound by @lemire in https://github.com/simdutf/simdutf/pull/1104
* arm64: fix utf8_length_from_utf16 on a trailing lone high surrogate by @lemire in https://github.com/simdutf/simdutf/pull/1105
* Document the Latin-1 and UTF-16-to-UTF-8 output bounds; fix _with_errors count wording by @lemire in https://github.com/simdutf/simdutf/pull/1109
* arm64: count UTF-16 length from UTF-8 without movemasks by @lemire in https://github.com/simdutf/simdutf/pull/1108
* arm64: cheaper surrogate handling in utf8_length_from_utf16_with_replacement by @lemire in https://github.com/simdutf/simdutf/pull/1110
* Make the 12-byte ASCII fast path reachable in UTF-8 to UTF-16/UTF-32 kernels by @lemire in https://github.com/simdutf/simdutf/pull/1107
* Stop the plain UTF-8 conversions near the first error by @lemire in https://github.com/simdutf/simdutf/pull/1112
* Convert mixed 1-byte/2-byte UTF-8 to Latin-1 without the 12-byte loop by @lemire in https://github.com/simdutf/simdutf/pull/1106
* Faster replacement when UTF-8 errors are dense by @lemire in https://github.com/simdutf/simdutf/pull/1111
* tests: make trailing_lone_high_surrogate endian-aware by @lemire in https://github.com/simdutf/simdutf/pull/1114


**Full Changelog**: https://github.com/simdutf/simdutf/compare/v9.4.0...v9.5.0

Share this resource


Discovered 2026-11-24 Source GitHub Archive 2026-11 →