Skip to content

Upgrade simdutf to v9.0.0 - #62

Merged
Nugine merged 3 commits into
mainfrom
auto/upgrade/v9.0.0
Apr 26, 2026
Merged

Nugine merged 3 commits into
mainfrom
auto/upgrade/v9.0.0

Conversation

@Nugine

@Nugine Nugine commented Apr 26, 2026

Copy link
Copy Markdown
Owner

Copilot AI review requested due to automatic review settings April 26, 2026 00:13

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades the vendored simdutf implementation to v9.0.0, aligning the local amalgamated simdutf.h/.cpp with the upstream release.

Changes:

  • Bumps simdutf version to 9.0.0 and raises the minimum required standard to C++17.
  • Adopts std::string_view in several public-facing helpers/metadata APIs (e.g., to_string, implementation name/description).
  • Extends Base64 support with a detailed decode API (base64_to_binary_details) and a C++23 _base64 user-defined literal.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 4 comments.

File Description
cpp/simdutf.h Updates public API/types for v9.0.0, adds Base64 “details” APIs and a C++23 _base64 literal.
cpp/simdutf.cpp Updates implementation to match new APIs and adds static-initialization configuration logic plus Base64 “details” entrypoints.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread cpp/simdutf.h
Comment thread cpp/simdutf.h
Comment thread cpp/simdutf.h
Comment thread cpp/simdutf.cpp
Nugine added 2 commits April 26, 2026 20:59
simdutf v9.0.0 uses C++17 features such as 'if constexpr' and
'constexpr lambda'. Update the build configuration to use C++17
instead of C++11 to support these features.
From the upstream simdutf CMakeLists.txt, the project requires C++17 or
later. The previous build configuration only set the standard for
non-MSVC compilers, which could leave MSVC using its default standard
(potentially insufficient for C++17 features).

This change ensures C++17 is explicitly set for all compilers:
- MSVC: /std:c++17
- GCC/Clang: -std=c++17

This aligns with the upstream requirement and improves compatibility
on Windows.
@Nugine
Nugine merged commit 0491fba into main Apr 26, 2026
4 checks passed
@Nugine
Nugine deleted the auto/upgrade/v9.0.0 branch April 26, 2026 13:47
@reneleonhardt

Copy link
Copy Markdown

v9.2.0 has been released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants