Moving more C++ code to C
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 693
- Forks
- 49
- PR merge metrics
- No merged PRs in 30d
Description
Generally a lot of the existing C++ code can be moved to C so that functions could be inlined there as well.
Note extra care must be taken, so that we can maintain exception safety: no extern "C", no function pointer leaks, that would break ODR
Is the effort worth it?
Contributor guide
No contributing guide indexed for this repository
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
No files, tests, or entry points are named. Start by auditing the existing C++ code and identifying which functions could move to C while preserving exception safety, avoiding extern "C", function-pointer leaks, and ODR violations. Done would require a decided scope and an agreed answer on whether the effort is worthwhile.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, cpp
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100