alibaba / alibaba/PhotonLibOS

Using ```estring_view``` instead of ```std::string_view``` for APIs, to avoid ABI inconsistency between C++ versions

Open
#277 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.2k
Forks
179
Avg merge
1d 15h
Merged PRs (30d)
26

Description

We make extensive use of string_view for efficient handling of strings. And we use it in C++14 mode by cheating std library, and let it think we are in c++17 mode. This compiles OK, but leads to ABI inconsistency in binaries.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points. Start by locating the public APIs that use string_view and comparing their C++14 and C++17 ABI behavior; done should mean the affected APIs use estring_view without ABI inconsistency between C++ versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend-api-design
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.