simdjson / simdjson/simdjson

add u8 variant of string access methods

Open
#2,731 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
24.3k
Forks
1.3k
Avg merge
1d 3h
Merged PRs (30d)
16

Description

Since all* strings in simdjson are guaranteed to be valid UTF-8,
it whould be handy to add "u8" variants of string access methods for C++20 users,
like get_u8string, escaped_u8key and so on.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing string access methods and their UTF-8 handling in simdjson, then review how C++20 represents UTF-8 strings. Identify all relevant methods, including get_u8string and escaped_u8key, and define done as providing consistent u8 variants with coverage for the existing string-access behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend-api-design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.