Skip to content
⌘K

simdutf

Unicode routines (UTF8, UTF16, UTF32) and Base64: billions of characters per second using SIMD.

health 82contrib 662.0k1 contribution opportunity →

Overview & architecture

C++ standard
–
Build systems
–
License
Apache-2.0
Languages
C++
Last release
v9.4.0 · Nov 15, 2026

Repository activity

snapshot Nov 23, 2026
GitHub stars
latest
2.0k▲ 26
Merged PRs (30d)
latest
28▲ 20
Contributors (90d)
latest
6▲ 2
Issue first response p50
–
No snapshots yet.
31 open issues26 open PRs28 commits (30d)2 good first issues4 help wanted

Recent notable activity

  • Release
    simdutf v9.4.0: Version 9.4.0

    What's Changed base64: find '=' while decoding when garbage is accepted by @lemire in base64: faster scalar encoding and decoding (supersedes #1037) by @lemire in haswell, westmere: cheaper surrogate range test in count_utf16 by @mvanslobbe in base64: let the C++23 span overloads take any byte-like type by…

    v9.4.0
  • New project
    simdutf added to the atlas

    Unicode routines (UTF8, UTF16, UTF32) and Base64: billions of characters per second using SIMD.

  • Release
    simdutf v9.2.2: Version 9.2.2

    What's Changed [9.2.x] base64: let the C++23 span overloads take any byte-like type by @lemire in Full Changelog:

    Daniel Lemirev9.2.2
  • Release
    simdutf v9.3.3: Version 9.3.3

    What's Changed Check the tail of the ASCII validators in place by @mvanslobbe in Check the tail of the UTF-8 validators in place by @mvanslobbe in base64: avoid overflow in base64_length_from_binary_with_lines by @musthaf-bughunter in arm64: fix base64 default_or_url tables accepting '[' by @lemire in New Contributors…

    v9.3.3
  • Release
    simdutf v9.3.2: Version 9.3.2

    What's Changed icelake: unroll the base64 encoding loop by @lemire in Full Changelog:

    v9.3.2
  • Release
    simdutf v9.3.1: Version 9.3.1

    What's Changed icelake: use plain loads in the base64 encoding loop by @lemire in Full Changelog:

    v9.3.1
  • Release
    simdutf v9.3.0: Version 9.3.0

    What's Changed benchmarks: guard atomic base64 calls with SIMDUTF_ATOMIC_REF by @lemire in Port GetPointerToFirstInvalidByte from SimdUnicode by @BenjaminBucher in icelake: make convert_valid_utf8_to_utf16 faster than the validating conversion by @lemire in Utf8 to utf16 with replacement by @lemire in icelake: finish…

    v9.3.0
  • Release
    simdutf v9.2.1: Version 9.2.1

    What's Changed westmere base64 encoder: replace "compare + AND + OR" with "compare + SUB" in the alphabet lookup by @lemire in LoongArch base64 encoders: SIMD line feeds, overlapping loads (LASX), cheaper alphabet lookup by @lemire in base64 AVX2 - replace "compare + AND + OR" with "compare + SUB" / overlap operations…

    v9.2.1
  • Release
    simdutf v9.2.0: Version 9.2.0

    What's Changed add detailed results to safe UTF conversions by @XadillaX in New Contributors @XadillaX made their first contribution in Full Changelog:

    v9.2.0
  • Release
    simdutf v9.1.2: Version 9.1.2

    What's Changed patch 9.1.2, minor improvements to base64 decoding by @lemire in Full Changelog:

    Daniel Lemirev9.1.2
  • Release
    simdutf v9.1.1: Version 9.1.1

    What's Changed icelake: align the reads in validate_utf8 by @lemire in icelake: align and widen the ASCII validators by @lemire in icelake: align the reads and amortize the error check in validate_utf8_with_errors by @lemire in icelake: align the reads in the UTF-16 validators by @lemire in icelake: align and widen…

    Daniel Lemirev9.1.1
  • Release
    simdutf v9.1.0: Version 9.1.0

    What's Changed scripts/add_function.py: fixes by @BenjaminBucher in workaround missing std::unreachable by @pauldreik in update to cmake 3.18 everywhere by @pauldreik in Remove redundant checks in scalar utf8 validation by @BenjaminBucher in test: strengthen conversion result coverage by @parasol-aser in add test…

    Daniel Lemirev9.1.0

Stories

ReleaseFor you

simdutf v9.4.0: Version 9.4.0 released

What's Changed base64: find '=' while decoding when garbage is accepted by @lemire in base64: faster scalar encoding and decoding (supersedes #1037) by @lemire in haswell, westmere: cheaper surrogate range test in count_utf16 by @mvanslobbe in base64: let the C++23 span overloads take any…

Why it matters: simdutf is in Core Libraries (one of your focus areas).

New projectFor you

New project: simdutf

Unicode routines (UTF8, UTF16, UTF32) and Base64: billions of characters per second using SIMD.

Why it matters: simdutf is in Core Libraries (one of your focus areas). 2,034 GitHub stars.

ReleaseFor you

simdutf v9.3.0: Version 9.3.0 released

What's Changed benchmarks: guard atomic base64 calls with SIMDUTF_ATOMIC_REF by @lemire in Port GetPointerToFirstInvalidByte from SimdUnicode by @BenjaminBucher in icelake: make convert_valid_utf8_to_utf16 faster than the validating conversion by @lemire in Utf8 to utf16 with replacement by…

Why it matters: simdutf is in Core Libraries (one of your focus areas).

ReleaseFor you

simdutf v9.2.1: Version 9.2.1 released

What's Changed westmere base64 encoder: replace "compare + AND + OR" with "compare + SUB" in the alphabet lookup by @lemire in LoongArch base64 encoders: SIMD line feeds, overlapping loads (LASX), cheaper alphabet lookup by @lemire in base64 AVX2 - replace "compare + AND + OR" with "compare + SUB"…

Why it matters: simdutf is in Core Libraries (one of your focus areas).

Maintainers & organizations

every claim links to its source

Maintainers

Top contributors

Releases & changelog

  • simdutf v9.4.0: Version 9.4.0major

    What's Changed base64: find '=' while decoding when garbage is accepted by @lemire in base64: faster scalar encoding and decoding (supersedes #1037) by @lemire in haswell, westmere: cheaper surrogate range test in count_utf16 by @mvanslobbe in base64: let the C++23 span overloads take any byte-like type by…

  • simdutf v9.2.2: Version 9.2.2

    What's Changed [9.2.x] base64: let the C++23 span overloads take any byte-like type by @lemire in Full Changelog:

  • simdutf v9.3.3: Version 9.3.3

    What's Changed Check the tail of the ASCII validators in place by @mvanslobbe in Check the tail of the UTF-8 validators in place by @mvanslobbe in base64: avoid overflow in base64_length_from_binary_with_lines by @musthaf-bughunter in arm64: fix base64 default_or_url tables accepting '[' by @lemire in New Contributors…

  • simdutf v9.3.2: Version 9.3.2

    What's Changed icelake: unroll the base64 encoding loop by @lemire in Full Changelog:

  • simdutf v9.3.1: Version 9.3.1

    What's Changed icelake: use plain loads in the base64 encoding loop by @lemire in Full Changelog:

  • simdutf v9.3.0: Version 9.3.0major

    What's Changed benchmarks: guard atomic base64 calls with SIMDUTF_ATOMIC_REF by @lemire in Port GetPointerToFirstInvalidByte from SimdUnicode by @BenjaminBucher in icelake: make convert_valid_utf8_to_utf16 faster than the validating conversion by @lemire in Utf8 to utf16 with replacement by @lemire in icelake: finish…

  • simdutf v9.2.1: Version 9.2.1

    What's Changed westmere base64 encoder: replace "compare + AND + OR" with "compare + SUB" in the alphabet lookup by @lemire in LoongArch base64 encoders: SIMD line feeds, overlapping loads (LASX), cheaper alphabet lookup by @lemire in base64 AVX2 - replace "compare + AND + OR" with "compare + SUB" / overlap operations…

  • simdutf v9.2.0: Version 9.2.0major

    What's Changed add detailed results to safe UTF conversions by @XadillaX in New Contributors @XadillaX made their first contribution in Full Changelog:

  • simdutf v9.1.2: Version 9.1.2

    What's Changed patch 9.1.2, minor improvements to base64 decoding by @lemire in Full Changelog:

  • simdutf v9.1.1: Version 9.1.1

    What's Changed icelake: align the reads in validate_utf8 by @lemire in icelake: align and widen the ASCII validators by @lemire in icelake: align the reads and amortize the error check in validate_utf8_with_errors by @lemire in icelake: align the reads in the UTF-16 validators by @lemire in icelake: align and widen…

  • simdutf v9.1.0: Version 9.1.0major

    What's Changed scripts/add_function.py: fixes by @BenjaminBucher in workaround missing std::unreachable by @pauldreik in update to cmake 3.18 everywhere by @pauldreik in Remove redundant checks in scalar utf8 validation by @BenjaminBucher in test: strengthen conversion result coverage by @parasol-aser in add test…

Contribution opportunities

1 published
Good first issueMatches your profileText

add short inputs optimizations

When processing short inputs (e.g., strings smaller than 16 bytes), calling our fast functions is wasted effort. Now that @pauldreik has done the hard work of moving our scalar (=naive) implementations in header files, what becomes possible is to add short string optimizations: when the input is sufficiently small, prefer the naive (but easy to inline) routine. It can be an actual issue. Recently @anonrig tried to enable simdutf in ada, within Node, and he reported a negative effect on performance. Though I have not examined the use case, the likely cause in my view is that he is replacing a…

62score
performance
  • Demand 25% × 0.33 = 81 reactions, 18 comments
  • Technical fit 30% × 0.86 = 26simdutf is in Core Libraries (a focus area); issue needs performance, which you listed; project tags you follow: performance, simd
  • Maintainer engagement 25% × 0.45 = 11comments not checked; filed by a maintainer; project responsiveness 100%
  • Feasibility 20% × 0.85 = 17newcomer label; clear scope; has reproduction steps; has code; project onboarding 25%
Evidence
  • #925 add short inputs optimizationsissue
    When processing short inputs (e.g., strings smaller than 16 bytes), calling our fast functions is wasted effort. Now that @pauldreik has done the hard work of moving our scalar (=naive) implementations in header files, what becomes possible is to add short string optimizations…
Suggested first step

Reproduce the benchmark or slow path, profile it (perf, VTune or Tracy), and share the numbers on the issue before proposing a change.

Related:Text
Rule-generated · updated 3d ago
1 more candidate below the publish threshold
Good first issueuntouchedstaleMatches your profileText

implement efficient one-pass 'detect encodings' functions

Currently our 'detect encodings' functions do several passes over the day. A single pass is sufficient. It is not difficult to implement, but doing it well requires being crafty and careful.

53score
performance
  • Demand 25% × 0.33 = 80 reactions, 2 comments; labelled as performance/regression/priority
  • Technical fit 30% × 0.86 = 26simdutf is in Core Libraries (a focus area); issue needs performance, which you listed; project tags you follow: performance, simd
  • Maintainer engagement 25% × 0.45 = 11comments not checked; filed by a maintainer; project responsiveness 100%
  • Feasibility 20% × 0.40 = 8newcomer label; project onboarding 25%
Evidence
Suggested first step

Reproduce the benchmark or slow path, profile it (perf, VTune or Tracy), and share the numbers on the issue before proposing a change.

Related:Text
Rule-generated · updated 5d ago

Why this score

Health 82Contribution friendliness 66computed 19h ago
  • Activity0.91
    28 merged PRs in 30 days (full marks at 20); 29 commits in 30 days (full marks at 60)health
  • Onboarding0.25
    has CI; missing contributing guide, mainstream build (CMake/Bazel/Meson), docs sitecontrib
  • Entry points0.67
    4 open, unassigned good-first-issue/help-wanted issues without a PR (full marks at 10)contrib
  • Maintainer responsiveness1.00
    median PR merge time 1 h (full marks within 72 h, zero after 60 days)healthcontrib
  • Release cadence1.00
    last release 8 days ago (full marks within 90, zero after 730); 11 releases in 365 days (full marks at 4)health
  • Backlog pressure0.33
    60% of 5 scanned open issues are older than a year (full marks at <= 20%, zero at >= 80%)health
  • Contributor breadth0.57
    6 unique contributors in 90 days (full marks at 25); top contributor has 60% of commits; stars count for at most 5% of this signalhealth

Each signal is normalized to 0–1 with fixed thresholds; scores are weighted sums × 100. Stars are not an input.