add u8 variant of string access methods
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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